Use canonical names for g_object_notify() as well.
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Mar 2005 05:49:15 +0000 (05:49 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 26 Mar 2005 05:49:15 +0000 (05:49 +0000)
2005-03-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/*.c:
* gdk/gdkdisplaymanager.c:
Use canonical names for g_object_notify() as well.

87 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-data.c
gdk/gdkdisplaymanager.c
gtk/gtkaboutdialog.c
gtk/gtkaccellabel.c
gtk/gtkaction.c
gtk/gtkactiongroup.c
gtk/gtkadjustment.c
gtk/gtkalignment.c
gtk/gtkarrow.c
gtk/gtkaspectframe.c
gtk/gtkbbox.c
gtk/gtkbox.c
gtk/gtkbutton.c
gtk/gtkcalendar.c
gtk/gtkcellrenderer.c
gtk/gtkcellrenderercombo.c
gtk/gtkcellrenderertext.c
gtk/gtkcellview.c
gtk/gtkcheckbutton.c
gtk/gtkcheckmenuitem.c
gtk/gtkcolorbutton.c
gtk/gtkcolorsel.c
gtk/gtkcombobox.c
gtk/gtkcomboboxentry.c
gtk/gtkcontainer.c
gtk/gtkdialog.c
gtk/gtkentry.c
gtk/gtkentrycompletion.c
gtk/gtkexpander.c
gtk/gtkfilechooserbutton.c
gtk/gtkfilechooserdefault.c
gtk/gtkfontbutton.c
gtk/gtkframe.c
gtk/gtkhandlebox.c
gtk/gtkhpaned.c
gtk/gtkhscale.c
gtk/gtkiconview.c
gtk/gtkimage.c
gtk/gtkimagemenuitem.c
gtk/gtkitemfactory.c
gtk/gtklabel.c
gtk/gtkmenu.c
gtk/gtkmenubar.c
gtk/gtkmenuitem.c
gtk/gtkmenutoolbutton.c
gtk/gtkmessagedialog.c
gtk/gtknotebook.c
gtk/gtkpaned.c
gtk/gtkprogress.c
gtk/gtkprogressbar.c
gtk/gtkradioaction.c
gtk/gtkradiobutton.c
gtk/gtkradiotoolbutton.c
gtk/gtkrange.c
gtk/gtkruler.c
gtk/gtkscale.c
gtk/gtkscrollbar.c
gtk/gtkscrolledwindow.c
gtk/gtkseparatortoolitem.c
gtk/gtksocket.c
gtk/gtkspinbutton.c
gtk/gtkstatusbar.c
gtk/gtkstyle.c
gtk/gtktable.c
gtk/gtktearoffmenuitem.c
gtk/gtktextbuffer.c
gtk/gtktexttag.c
gtk/gtktextview.c
gtk/gtktoggleaction.c
gtk/gtktogglebutton.c
gtk/gtktoggletoolbutton.c
gtk/gtktoolbar.c
gtk/gtktoolbutton.c
gtk/gtktoolitem.c
gtk/gtktreemodelfilter.c
gtk/gtktreeview.c
gtk/gtktreeviewcolumn.c
gtk/gtkuimanager.c
gtk/gtkviewport.c
gtk/gtkvpaned.c
gtk/gtkvscale.c
gtk/gtkwidget.c
gtk/gtkwindow.c

index 32b0cf70f289b0c698871a3a5542c0097111611a..bbd2c8ecffb221cfc523efcaf910df8f2d85c8ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/*.c: 
+       * gdk/gdkdisplaymanager.c: 
+       Use canonical names for g_object_notify() as well. 
+
 2005-03-24  Tor Lillqvist  <tml@novell.com>
 
        * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
index 32b0cf70f289b0c698871a3a5542c0097111611a..bbd2c8ecffb221cfc523efcaf910df8f2d85c8ec 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/*.c: 
+       * gdk/gdkdisplaymanager.c: 
+       Use canonical names for g_object_notify() as well. 
+
 2005-03-24  Tor Lillqvist  <tml@novell.com>
 
        * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
index 32b0cf70f289b0c698871a3a5542c0097111611a..bbd2c8ecffb221cfc523efcaf910df8f2d85c8ec 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/*.c: 
+       * gdk/gdkdisplaymanager.c: 
+       Use canonical names for g_object_notify() as well. 
+
 2005-03-24  Tor Lillqvist  <tml@novell.com>
 
        * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
index 8fa0f71119230316c15916bc503889852c74dc5b..9830f95f9b0f540f3315fcfa1a8cd519f973e649 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use canonical
+       property names.
+
 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk-pixbuf.c (gdk_pixbuf_class_init): Mark param spec strings
index 1fcf87b84e74f06dff38bbbef854d83c3916b4fe..43fd9c1d3df12e2c61b230ba68a3cecf6d61c07f 100644 (file)
@@ -64,9 +64,9 @@ gdk_pixbuf_new_from_data (const guchar *data, GdkColorspace colorspace, gboolean
 
        pixbuf = g_object_new (GDK_TYPE_PIXBUF, 
                               "colorspace", colorspace,
-                              "n_channels", has_alpha ? 4 : 3,
-                              "bits_per_sample", bits_per_sample,
-                              "has_alpha", has_alpha ? TRUE : FALSE,
+                              "n-channels", has_alpha ? 4 : 3,
+                              "bits-per-sample", bits_per_sample,
+                              "has-alpha", has_alpha ? TRUE : FALSE,
                               "width", width,
                               "height", height,
                               "rowstride", rowstride,
index 897d99ba5de857aead996e65a544e324bf52bf28..157bcf42c4171ff66add4583c48b96e3cbaf5548 100644 (file)
@@ -260,7 +260,7 @@ gdk_display_manager_set_default_display (GdkDisplayManager *display_manager,
 
   _gdk_windowing_set_default_display (display);
 
-  g_object_notify (G_OBJECT (display_manager), "default_display");
+  g_object_notify (G_OBJECT (display_manager), "default-display");
 }
 
 /**
index fcecc485c43811e62a101d9c9b52c597dd04f3ea..6c4e75bca1c8bd76fd0c54adc9a5bc38b337d90b 100644 (file)
@@ -1147,7 +1147,7 @@ gtk_about_dialog_set_website_label (GtkAboutDialog *about,
     }
   g_free (tmp);
 
-  g_object_notify (G_OBJECT (about), "website_label");
+  g_object_notify (G_OBJECT (about), "website-label");
 }
 
 /**
@@ -1455,7 +1455,7 @@ gtk_about_dialog_set_logo (GtkAboutDialog *about,
   g_object_freeze_notify (G_OBJECT (about));
 
   if (gtk_image_get_storage_type (GTK_IMAGE (priv->logo_image)) == GTK_IMAGE_ICON_NAME)
-    g_object_notify (G_OBJECT (about), "logo_icon_name");
+    g_object_notify (G_OBJECT (about), "logo-icon-name");
 
   if (logo != NULL) 
     gtk_image_set_from_pixbuf (GTK_IMAGE (priv->logo_image), logo);
@@ -1537,7 +1537,7 @@ gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about,
 
   gtk_image_set_from_icon_name (GTK_IMAGE (priv->logo_image), icon_name,
                                GTK_ICON_SIZE_DIALOG);
-  g_object_notify (G_OBJECT (about), "logo_icon_name");
+  g_object_notify (G_OBJECT (about), "logo-icon-name");
 
   g_object_thaw_notify (G_OBJECT (about));
 }
index a78e8129052db425daa159884642f19a8fcdf56d..c60f308cd9764b6189ed7ca1b945b6bb3d857a4f 100644 (file)
@@ -433,7 +433,7 @@ gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label,
                                   accel_label, G_CONNECT_SWAPPED);
          refetch_widget_accel_closure (accel_label);
        }
-      g_object_notify (G_OBJECT (accel_label), "accel_widget");
+      g_object_notify (G_OBJECT (accel_label), "accel-widget");
     }
 }
 
@@ -496,7 +496,7 @@ gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label,
                                   accel_label, 0);
        }
       gtk_accel_label_reset (accel_label);
-      g_object_notify (G_OBJECT (accel_label), "accel_closure");
+      g_object_notify (G_OBJECT (accel_label), "accel-closure");
     }
 }
 
index 5250b7cc9c795a7299c7d7eaa41aff6930e3162b..a664f6e972993e06638d95c77819db0d84b9cc2a 100644 (file)
@@ -447,7 +447,7 @@ gtk_action_set_property (GObject         *object,
          tmp = action->private_data->short_label;
          action->private_data->short_label = g_strdup (action->private_data->label);
          g_free (tmp);
-         g_object_notify (object, "short_label");
+         g_object_notify (object, "short-label");
        }
       break;
     case PROP_SHORT_LABEL:
@@ -487,7 +487,7 @@ gtk_action_set_property (GObject         *object,
          tmp = action->private_data->short_label;
          action->private_data->short_label = g_strdup (action->private_data->label);
          g_free (tmp);
-         g_object_notify (object, "short_label");
+         g_object_notify (object, "short-label");
        }
       break;
     case PROP_VISIBLE_HORIZONTAL:
@@ -716,7 +716,7 @@ gtk_action_sync_short_label (GtkAction  *action,
   GValue value = { 0, };
 
   g_value_init (&value, G_TYPE_STRING);
-  g_object_get_property (G_OBJECT (action), "short_label", &value);
+  g_object_get_property (G_OBJECT (action), "short-label", &value);
 
   g_object_set_property (G_OBJECT (proxy), "label", &value);
   g_value_unset (&value);
index 6f55c27326cf1f572783282271194e57ba0eb12c..41f4e25909b5fcda1a2c13e0ff75ac420fe2b4c4 100644 (file)
@@ -251,7 +251,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
 static void 
 remove_action (GtkAction *action) 
 {
-  g_object_set (action, "action_group", NULL, NULL);
+  g_object_set (action, "action-group", NULL, NULL);
   g_object_unref (action);
 }
 
@@ -546,7 +546,7 @@ gtk_action_group_add_action (GtkActionGroup *action_group,
   g_hash_table_insert (action_group->private_data->actions, 
                       g_strdup (gtk_action_get_name (action)),
                        g_object_ref (action));
-  g_object_set (action, "action_group", action_group, NULL);
+  g_object_set (action, "action-group", action_group, NULL);
 }
 
 /**
@@ -579,7 +579,7 @@ gtk_action_group_add_action_with_accel (GtkActionGroup *action_group,
   gchar *name;
   gchar *stock_id;
   
-  g_object_get (action, "name", &name, "stock_id", &stock_id, NULL);
+  g_object_get (action, "name", &name, "stock-id", &stock_id, NULL);
 
   accel_path = g_strconcat ("<Actions>/",
                            action_group->private_data->name, "/", name, NULL);
index c547e38bdc96a69f173dbe0231defdca03685afb..70b43b35c9e55329dbe077a0b9a26a10be1c6a08 100644 (file)
@@ -339,7 +339,7 @@ gtk_adjustment_new (gdouble value,
                       "upper", upper,
                       "step-increment", step_increment,
                       "page-increment", page_increment,
-                      "page_size", page_size,
+                      "page-size", page_size,
                       "value", value,
                       NULL);
 }
index 94eea7b0c20eb6a25555a9b84225ce29707b2c0c..2b8f692f2592b0a240768d9ad4d34bfdfc3d6a1d 100644 (file)
@@ -559,22 +559,22 @@ gtk_alignment_set_padding (GtkAlignment    *alignment,
   if (priv->padding_top != padding_top)
     {
       priv->padding_top = padding_top;
-      g_object_notify (G_OBJECT (alignment), "top_padding");
+      g_object_notify (G_OBJECT (alignment), "top-padding");
     }
   if (priv->padding_bottom != padding_bottom)
     {
       priv->padding_bottom = padding_bottom;
-      g_object_notify (G_OBJECT (alignment), "bottom_padding");
+      g_object_notify (G_OBJECT (alignment), "bottom-padding");
     }
   if (priv->padding_left != padding_left)
     {
       priv->padding_left = padding_left;
-      g_object_notify (G_OBJECT (alignment), "left_padding");
+      g_object_notify (G_OBJECT (alignment), "left-padding");
     }
   if (priv->padding_right != padding_right)
     {
       priv->padding_right = padding_right;
-      g_object_notify (G_OBJECT (alignment), "right_padding");
+      g_object_notify (G_OBJECT (alignment), "right-padding");
     }
 
   g_object_thaw_notify (G_OBJECT (alignment));
index 7494f82ff85390e051599bcb81dfa99cb5b41c82..f9568e481f3518cb3bc645c5897e3726cd228c4f 100644 (file)
@@ -208,13 +208,13 @@ gtk_arrow_set (GtkArrow      *arrow,
       if ((GtkArrowType) arrow->arrow_type != arrow_type)
         {
           arrow->arrow_type = arrow_type;
-          g_object_notify (G_OBJECT (arrow), "arrow_type");
+          g_object_notify (G_OBJECT (arrow), "arrow-type");
         }
 
       if ((GtkShadowType) arrow->shadow_type != shadow_type)
         {
           arrow->shadow_type = shadow_type;
-          g_object_notify (G_OBJECT (arrow), "shadow_type");
+          g_object_notify (G_OBJECT (arrow), "shadow-type");
         }
 
       g_object_thaw_notify (G_OBJECT (arrow));
index 52685354aba188b3c1836d0537ae96805ca562a8..3353257704ad4e3beec491d27b36ed95ebcaf614 100644 (file)
@@ -277,7 +277,7 @@ gtk_aspect_frame_set (GtkAspectFrame *aspect_frame,
       if (aspect_frame->obey_child != obey_child)
         {
           aspect_frame->obey_child = obey_child;
-          g_object_notify (G_OBJECT (aspect_frame), "obey_child");
+          g_object_notify (G_OBJECT (aspect_frame), "obey-child");
         }
       g_object_thaw_notify (G_OBJECT (aspect_frame));
 
index e8197c45c14277f35e4811587ce30e1d39c5666f..7ced719f38aaeabb2a6ca07c0b9fbd2edec93e56 100644 (file)
@@ -287,7 +287,7 @@ gtk_button_box_set_layout (GtkButtonBox      *widget,
   if (widget->layout_style != layout_style)
     {
       widget->layout_style = layout_style;
-      g_object_notify (G_OBJECT (widget), "layout_style");
+      g_object_notify (G_OBJECT (widget), "layout-style");
       gtk_widget_queue_resize (GTK_WIDGET (widget));
     }
 }
@@ -449,14 +449,11 @@ _gtk_button_box_child_requisition (GtkWidget *widget,
   bbox = GTK_BUTTON_BOX (widget);
 
   gtk_widget_style_get (widget,
-                        "child_min_width",
-                        &width_default,
-                        "child_min_height",
-                        &height_default,
-                        "child_internal_pad_x",
-                        &ipad_x_default,
-                        "child_internal_pad_y",
-                        &ipad_y_default, NULL);
+                        "child-min-width", &width_default,
+                        "child-min-height", &height_default,
+                        "child-internal-pad-x", &ipad_x_default,
+                        "child-internal-pad-y", &ipad_y_default, 
+                       NULL);
   
   child_min_width = bbox->child_min_width   != GTK_BUTTONBOX_DEFAULT
          ? bbox->child_min_width : width_default;
index 251572f8aceea1913083c244711ce574836c1553..8d3acc0824ade34fd23ece824baef6d7de84b825 100644 (file)
@@ -392,7 +392,7 @@ gtk_box_pack_start (GtkBox    *box,
   gtk_widget_child_notify (child, "expand");
   gtk_widget_child_notify (child, "fill");
   gtk_widget_child_notify (child, "padding");
-  gtk_widget_child_notify (child, "pack_type");
+  gtk_widget_child_notify (child, "pack-type");
   gtk_widget_child_notify (child, "position");
   gtk_widget_thaw_child_notify (child);
 }
@@ -427,7 +427,7 @@ gtk_box_pack_end (GtkBox    *box,
   gtk_widget_child_notify (child, "expand");
   gtk_widget_child_notify (child, "fill");
   gtk_widget_child_notify (child, "padding");
-  gtk_widget_child_notify (child, "pack_type");
+  gtk_widget_child_notify (child, "pack-type");
   gtk_widget_child_notify (child, "position");
   gtk_widget_thaw_child_notify (child);
 }
@@ -625,7 +625,7 @@ gtk_box_set_child_packing (GtkBox               *box,
        child_info->pack = GTK_PACK_END;
       else
        child_info->pack = GTK_PACK_START;
-      gtk_widget_child_notify (child, "pack_type");
+      gtk_widget_child_notify (child, "pack-type");
 
       if (GTK_WIDGET_VISIBLE (child) && GTK_WIDGET_VISIBLE (box))
        gtk_widget_queue_resize (child);
index 1980c5155753bcb1ed3ee250f9f7882355e99228..d9eedf18b5106aa67611082480c4bcffe3ebfd93 100644 (file)
@@ -673,7 +673,7 @@ gtk_button_construct_child (GtkButton *button)
 
       g_object_set (priv->image, 
                    "visible", show_image (button),
-                   "no_show_all", TRUE,
+                   "no-show-all", TRUE,
                    NULL);
       hbox = gtk_hbox_new (FALSE, 2);
 
@@ -734,8 +734,8 @@ gtk_button_new_from_stock (const gchar *stock_id)
 {
   return g_object_new (GTK_TYPE_BUTTON,
                        "label", stock_id,
-                       "use_stock", TRUE,
-                       "use_underline", TRUE,
+                       "use-stock", TRUE,
+                       "use-underline", TRUE,
                        NULL);
 }
 
@@ -755,7 +755,7 @@ gtk_button_new_from_stock (const gchar *stock_id)
 GtkWidget*
 gtk_button_new_with_mnemonic (const gchar *label)
 {
-  return g_object_new (GTK_TYPE_BUTTON, "label", label, "use_underline", TRUE,  NULL);
+  return g_object_new (GTK_TYPE_BUTTON, "label", label, "use-underline", TRUE,  NULL);
 }
 
 void
@@ -909,7 +909,7 @@ gtk_button_get_props (GtkButton *button,
 
   if (default_border)
     {
-      gtk_widget_style_get (widget, "default_border", &tmp_border, NULL);
+      gtk_widget_style_get (widget, "default-border", &tmp_border, NULL);
 
       if (tmp_border)
        {
@@ -922,7 +922,7 @@ gtk_button_get_props (GtkButton *button,
 
   if (default_outside_border)
     {
-      gtk_widget_style_get (widget, "default_outside_border", &tmp_border, NULL);
+      gtk_widget_style_get (widget, "default-outside-border", &tmp_border, NULL);
 
       if (tmp_border)
        {
@@ -934,7 +934,7 @@ gtk_button_get_props (GtkButton *button,
     }
 
   if (interior_focus)
-    gtk_widget_style_get (widget, "interior_focus", interior_focus, NULL);
+    gtk_widget_style_get (widget, "interior-focus", interior_focus, NULL);
 }
        
 static void
@@ -1039,8 +1039,8 @@ gtk_button_size_allocate (GtkWidget     *widget,
          gint child_displacement_y;
          
          gtk_widget_style_get (widget,
-                               "child_displacement_x", &child_displacement_x, 
-                               "child_displacement_y", &child_displacement_y,
+                               "child-displacement-x", &child_displacement_x, 
+                               "child-displacement-y", &child_displacement_y,
                                NULL);
          child_allocation.x += child_displacement_x;
          child_allocation.y += child_displacement_y;
@@ -1127,9 +1127,9 @@ _gtk_button_paint (GtkButton    *button,
          gboolean displace_focus;
          
          gtk_widget_style_get (GTK_WIDGET (widget),
-                               "child_displacement_y", &child_displacement_y,
-                               "child_displacement_x", &child_displacement_x,
-                               "displace_focus", &displace_focus,
+                               "child-displacement-y", &child_displacement_y,
+                               "child-displacement-x", &child_displacement_x,
+                               "displace-focus", &displace_focus,
                                NULL);
 
          if (interior_focus)
@@ -1425,7 +1425,7 @@ gtk_button_set_use_underline (GtkButton *button,
   
       gtk_button_construct_child (button);
       
-      g_object_notify (G_OBJECT (button), "use_underline");
+      g_object_notify (G_OBJECT (button), "use-underline");
     }
 }
 
@@ -1469,7 +1469,7 @@ gtk_button_set_use_stock (GtkButton *button,
   
       gtk_button_construct_child (button);
       
-      g_object_notify (G_OBJECT (button), "use_stock");
+      g_object_notify (G_OBJECT (button), "use-stock");
     }
 }
 
@@ -1515,7 +1515,7 @@ gtk_button_set_focus_on_click (GtkButton *button,
     {
       button->focus_on_click = focus_on_click;
       
-      g_object_notify (G_OBJECT (button), "focus_on_click");
+      g_object_notify (G_OBJECT (button), "focus-on-click");
     }
 }
 
index a96817eb2363f4914048b8337c06f0ad2518fc8e..585fa85c4a7913413f6a5b98fefa0cb5fbe21b16 100644 (file)
@@ -2447,13 +2447,13 @@ gtk_calendar_set_display_options (GtkCalendar          *calendar,
   
   g_object_freeze_notify (G_OBJECT (calendar));
   if ((old_flags ^ calendar->display_flags) & GTK_CALENDAR_SHOW_HEADING)
-    g_object_notify (G_OBJECT (calendar), "show_heading");
+    g_object_notify (G_OBJECT (calendar), "show-heading");
   if ((old_flags ^ calendar->display_flags) & GTK_CALENDAR_SHOW_DAY_NAMES)
-    g_object_notify (G_OBJECT (calendar), "show_day_names");
+    g_object_notify (G_OBJECT (calendar), "show-day-names");
   if ((old_flags ^ calendar->display_flags) & GTK_CALENDAR_NO_MONTH_CHANGE)
-    g_object_notify (G_OBJECT (calendar), "no_month_change");
+    g_object_notify (G_OBJECT (calendar), "no-month-change");
   if ((old_flags ^ calendar->display_flags) & GTK_CALENDAR_SHOW_WEEK_NUMBERS)
-    g_object_notify (G_OBJECT (calendar), "show_week_numbers");
+    g_object_notify (G_OBJECT (calendar), "show-week-numbers");
   g_object_thaw_notify (G_OBJECT (calendar));
 }
 
index 5e6477be6acae5f090ab33667166f1a1d51e8cd1..8c6a8df773682ce71566128cf018912cb3d92bb9 100644 (file)
@@ -447,7 +447,7 @@ gtk_cell_renderer_set_property (GObject      *object,
        else
          g_warning ("Don't know color `%s'", g_value_get_string (value));
 
-       g_object_notify (object, "cell_background_gdk");
+       g_object_notify (object, "cell-background-gdk");
       }
       break;
     case PROP_CELL_BACKGROUND_GDK:
@@ -473,7 +473,7 @@ set_cell_bg_color (GtkCellRenderer *cell,
       if (!cell->cell_background_set)
         {
          cell->cell_background_set = TRUE;
-         g_object_notify (G_OBJECT (cell), "cell_background_set");
+         g_object_notify (G_OBJECT (cell), "cell-background-set");
        }
 
       priv->cell_background.red = color->red;
@@ -485,7 +485,7 @@ set_cell_bg_color (GtkCellRenderer *cell,
       if (cell->cell_background_set)
         {
          cell->cell_background_set = FALSE;
-         g_object_notify (G_OBJECT (cell), "cell_background_set");
+         g_object_notify (G_OBJECT (cell), "cell-background-set");
        }
     }
 }
index 35dcbc79d446a2d016bb64533b003f19151652e4..6bc871f536f6eb03aedad36390b35eb298abcb94 100644 (file)
@@ -376,7 +376,7 @@ gtk_cell_renderer_combo_start_editing (GtkCellRenderer     *cell,
                                       &(search_data.iter));
     }
 
-  g_object_set (combo, "has_frame", FALSE, NULL);
+  g_object_set (combo, "has-frame", FALSE, NULL);
   g_object_set_data_full (G_OBJECT (combo),
                          GTK_CELL_RENDERER_COMBO_PATH,
                          g_strdup (path), g_free);
index 7c401bd60b0454339295cf10f362ef85fa03c074..f7d93b519e93b540cbdc876919eaebde86f4a9a9 100644 (file)
@@ -821,7 +821,7 @@ set_bg_color (GtkCellRendererText *celltext,
       if (!celltext->background_set)
         {
           celltext->background_set = TRUE;
-          g_object_notify (G_OBJECT (celltext), "background_set");
+          g_object_notify (G_OBJECT (celltext), "background-set");
         }
       
       celltext->background.red = color->red;
@@ -833,7 +833,7 @@ set_bg_color (GtkCellRendererText *celltext,
       if (celltext->background_set)
         {
           celltext->background_set = FALSE;
-          g_object_notify (G_OBJECT (celltext), "background_set");
+          g_object_notify (G_OBJECT (celltext), "background-set");
         }
     }
 }
@@ -848,7 +848,7 @@ set_fg_color (GtkCellRendererText *celltext,
       if (!celltext->foreground_set)
         {
           celltext->foreground_set = TRUE;
-          g_object_notify (G_OBJECT (celltext), "foreground_set");
+          g_object_notify (G_OBJECT (celltext), "foreground-set");
         }
       
       celltext->foreground.red = color->red;
@@ -860,7 +860,7 @@ set_fg_color (GtkCellRendererText *celltext,
       if (celltext->foreground_set)
         {
           celltext->foreground_set = FALSE;
-          g_object_notify (G_OBJECT (celltext), "foreground_set");
+          g_object_notify (G_OBJECT (celltext), "foreground-set");
         }
     }
 }
@@ -910,17 +910,17 @@ notify_set_changed (GObject       *object,
                    PangoFontMask  changed_mask)
 {
   if (changed_mask & PANGO_FONT_MASK_FAMILY)
-    g_object_notify (object, "family_set");
+    g_object_notify (object, "family-set");
   if (changed_mask & PANGO_FONT_MASK_STYLE)
-    g_object_notify (object, "style_set");
+    g_object_notify (object, "style-set");
   if (changed_mask & PANGO_FONT_MASK_VARIANT)
-    g_object_notify (object, "variant_set");
+    g_object_notify (object, "variant-set");
   if (changed_mask & PANGO_FONT_MASK_WEIGHT)
-    g_object_notify (object, "weight_set");
+    g_object_notify (object, "weight-set");
   if (changed_mask & PANGO_FONT_MASK_STRETCH)
-    g_object_notify (object, "stretch_set");
+    g_object_notify (object, "stretch-set");
   if (changed_mask & PANGO_FONT_MASK_SIZE)
-    g_object_notify (object, "size_set");
+    g_object_notify (object, "size-set");
 }
 
 static void
@@ -965,7 +965,7 @@ set_font_description (GtkCellRendererText  *celltext,
   
   g_object_freeze_notify (object);
 
-  g_object_notify (object, "font_desc");
+  g_object_notify (object, "font-desc");
   g_object_notify (object, "font");
   
   if (changed_mask & PANGO_FONT_MASK_FAMILY)
@@ -981,7 +981,7 @@ set_font_description (GtkCellRendererText  *celltext,
   if (changed_mask & PANGO_FONT_MASK_SIZE)
     {
       g_object_notify (object, "size");
-      g_object_notify (object, "size_points");
+      g_object_notify (object, "size-points");
     }
 
   notify_set_changed (object, set_changed_mask);
@@ -1075,7 +1075,7 @@ gtk_cell_renderer_text_set_property (GObject      *object,
         else
           g_warning ("Don't know color `%s'", g_value_get_string (value));
 
-        g_object_notify (object, "background_gdk");
+        g_object_notify (object, "background-gdk");
       }
       break;
       
@@ -1090,7 +1090,7 @@ gtk_cell_renderer_text_set_property (GObject      *object,
         else
           g_warning ("Don't know color `%s'", g_value_get_string (value));
 
-        g_object_notify (object, "foreground_gdk");
+        g_object_notify (object, "foreground-gdk");
       }
       break;
 
@@ -1165,7 +1165,7 @@ gtk_cell_renderer_text_set_property (GObject      *object,
          case PROP_SIZE:
            pango_font_description_set_size (celltext->font,
                                             g_value_get_int (value));
-           g_object_notify (object, "size_points");
+           g_object_notify (object, "size-points");
            break;
          case PROP_SIZE_POINTS:
            pango_font_description_set_size (celltext->font,
@@ -1178,7 +1178,7 @@ gtk_cell_renderer_text_set_property (GObject      *object,
          celltext->calc_fixed_height = TRUE;
        
        notify_set_changed (object, old_set_mask & pango_font_description_get_set_fields (celltext->font));
-       g_object_notify (object, "font_desc");
+       g_object_notify (object, "font-desc");
        g_object_notify (object, "font");
 
        break;
@@ -1189,7 +1189,7 @@ gtk_cell_renderer_text_set_property (GObject      *object,
       celltext->scale_set = TRUE;
       if (celltext->fixed_height_rows != -1)
        celltext->calc_fixed_height = TRUE;
-      g_object_notify (object, "scale_set");
+      g_object_notify (object, "scale-set");
       break;
       
     case PROP_EDITABLE:
@@ -1199,26 +1199,26 @@ gtk_cell_renderer_text_set_property (GObject      *object,
         GTK_CELL_RENDERER (celltext)->mode = GTK_CELL_RENDERER_MODE_EDITABLE;
       else
         GTK_CELL_RENDERER (celltext)->mode = GTK_CELL_RENDERER_MODE_INERT;
-      g_object_notify (object, "editable_set");
+      g_object_notify (object, "editable-set");
       break;
 
     case PROP_STRIKETHROUGH:
       celltext->strikethrough = g_value_get_boolean (value);
       celltext->strikethrough_set = TRUE;
-      g_object_notify (object, "strikethrough_set");
+      g_object_notify (object, "strikethrough-set");
       break;
 
     case PROP_UNDERLINE:
       celltext->underline_style = g_value_get_enum (value);
       celltext->underline_set = TRUE;
-      g_object_notify (object, "underline_set");
+      g_object_notify (object, "underline-set");
             
       break;
 
     case PROP_RISE:
       celltext->rise = g_value_get_int (value);
       celltext->rise_set = TRUE;
-      g_object_notify (object, "rise_set");
+      g_object_notify (object, "rise-set");
       if (celltext->fixed_height_rows != -1)
        celltext->calc_fixed_height = TRUE;
       break;  
@@ -1228,13 +1228,13 @@ gtk_cell_renderer_text_set_property (GObject      *object,
       if (priv->language)
         g_object_unref (priv->language);
       priv->language = pango_language_from_string (g_value_get_string (value));
-      g_object_notify (object, "language_set");
+      g_object_notify (object, "language-set");
       break;
 
     case PROP_ELLIPSIZE:
       priv->ellipsize = g_value_get_enum (value);
       priv->ellipsize_set = TRUE;
-      g_object_notify (object, "ellipsize_set");
+      g_object_notify (object, "ellipsize-set");
       break;
       
     case PROP_WRAP_MODE:
@@ -1808,7 +1808,7 @@ gtk_cell_renderer_text_start_editing (GtkCellRenderer      *cell,
     return NULL;
 
   priv->entry = g_object_new (GTK_TYPE_ENTRY,
-                             "has_frame", FALSE,
+                             "has-frame", FALSE,
                              "xalign", cell->xalign,
                              NULL);
 
index efdda51009d483d6a4d70fa413be7c7d06a99258..075c24e2358297b08397787ea7bbbd20529e7abc 100644 (file)
@@ -262,7 +262,7 @@ gtk_cell_view_set_property (GObject      *object,
           else
             g_warning ("Don't know color `%s'", g_value_get_string (value));
 
-          g_object_notify (object, "background_gdk");
+          g_object_notify (object, "background-gdk");
         }
         break;
       case PROP_BACKGROUND_GDK:
@@ -1051,7 +1051,7 @@ gtk_cell_view_set_background_color (GtkCellView    *cell_view,
       if (!cell_view->priv->background_set)
         {
           cell_view->priv->background_set = TRUE;
-          g_object_notify (G_OBJECT (cell_view), "background_set");
+          g_object_notify (G_OBJECT (cell_view), "background-set");
         }
 
       cell_view->priv->background = *color;
@@ -1061,7 +1061,7 @@ gtk_cell_view_set_background_color (GtkCellView    *cell_view,
       if (cell_view->priv->background_set)
         {
           cell_view->priv->background_set = FALSE;
-          g_object_notify (G_OBJECT (cell_view), "background_set");
+          g_object_notify (G_OBJECT (cell_view), "background-set");
         }
     }
 
index c0d767e222e6bff2f53ecbb20180c537978e8c8a..945001e7bb9dd425171cb093e5b3930fe92e9876 100644 (file)
@@ -208,10 +208,10 @@ _gtk_check_button_get_props (GtkCheckButton *check_button,
   GtkWidget *widget =  GTK_WIDGET (check_button);
 
   if (indicator_size)
-    gtk_widget_style_get (widget, "indicator_size", indicator_size, NULL);
+    gtk_widget_style_get (widget, "indicator-size", indicator_size, NULL);
 
   if (indicator_spacing)
-    gtk_widget_style_get (widget, "indicator_spacing", indicator_spacing, NULL);
+    gtk_widget_style_get (widget, "indicator-spacing", indicator_spacing, NULL);
 }
 
 static void
@@ -394,9 +394,11 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
       button = GTK_BUTTON (check_button);
       toggle_button = GTK_TOGGLE_BUTTON (check_button);
   
-      gtk_widget_style_get (widget, "interior_focus", &interior_focus,
+      gtk_widget_style_get (widget, 
+                           "interior-focus", &interior_focus,
                            "focus-line-width", &focus_width, 
-                           "focus-padding", &focus_pad, NULL);
+                           "focus-padding", &focus_pad, 
+                           NULL);
 
       _gtk_check_button_get_props (check_button, &indicator_size, &indicator_spacing);
 
index f32ac853dc8726c9713972773ee74ed63a21f3ae..7b7dc70fba572e09e1cdf575b5e8f0f1d7f962e2 100644 (file)
@@ -257,8 +257,8 @@ gtk_check_menu_item_toggle_size_request (GtkMenuItem *menu_item,
   g_return_if_fail (GTK_IS_CHECK_MENU_ITEM (menu_item));
   
   gtk_widget_style_get (GTK_WIDGET (menu_item),
-                       "toggle_spacing", &toggle_spacing,
-                       "indicator_size", &indicator_size,
+                       "toggle-spacing", &toggle_spacing,
+                       "indicator-size", &indicator_size,
                        NULL);
 
   *requisition = indicator_size + toggle_spacing;
@@ -351,7 +351,7 @@ gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item,
 
       gtk_widget_queue_draw (GTK_WIDGET (check_menu_item));
 
-      g_object_notify (G_OBJECT (check_menu_item), "draw_as_radio");
+      g_object_notify (G_OBJECT (check_menu_item), "draw-as-radio");
     }
 }
 
@@ -432,9 +432,9 @@ gtk_real_check_menu_item_draw_indicator (GtkCheckMenuItem *check_menu_item,
       widget = GTK_WIDGET (check_menu_item);
 
       gtk_widget_style_get (GTK_WIDGET (check_menu_item),
-                           "toggle_spacing", &toggle_spacing,
-                           "horizontal_padding", &horizontal_padding,
-                           "indicator_size", &indicator_size,
+                           "toggle-spacing", &toggle_spacing,
+                           "horizontal-padding", &horizontal_padding,
+                           "indicator-size", &indicator_size,
                            NULL);
 
       toggle_size = GTK_MENU_ITEM (check_menu_item)->toggle_size;
index 858d8d6387686b4cfa3f786658cd7df833320122..23f375896504eddbdfb32d33e0f6b699a5f3c02b 100644 (file)
@@ -884,7 +884,7 @@ gtk_color_button_set_use_alpha (GtkColorButton *color_button,
       render (color_button);
       gtk_widget_queue_draw (color_button->priv->drawing_area);
 
-      g_object_notify (G_OBJECT (color_button), "use_alpha");
+      g_object_notify (G_OBJECT (color_button), "use-alpha");
     }
 }
 
index 3ba309b6f5f06679f687ee85f9233cd187f1c807..e04f52e19525edfce36cee268028671d30076438 100644 (file)
@@ -1720,8 +1720,8 @@ update_color (GtkColorSelection *colorsel)
   g_signal_emit (colorsel, color_selection_signals[COLOR_CHANGED], 0);
   
   g_object_freeze_notify (G_OBJECT (colorsel));
-  g_object_notify (G_OBJECT (colorsel), "current_color");
-  g_object_notify (G_OBJECT (colorsel), "current_alpha");
+  g_object_notify (G_OBJECT (colorsel), "current-color");
+  g_object_notify (G_OBJECT (colorsel), "current-alpha");
   g_object_thaw_notify (G_OBJECT (colorsel));
   
   g_object_unref (colorsel);
@@ -2234,7 +2234,7 @@ gtk_color_selection_set_has_opacity_control (GtkColorSelection *colorsel,
        }
       color_sample_update_samples (colorsel);
       
-      g_object_notify (G_OBJECT (colorsel), "has_opacity_control");
+      g_object_notify (G_OBJECT (colorsel), "has-opacity-control");
     }
 }
 
@@ -2284,7 +2284,7 @@ gtk_color_selection_set_has_palette (GtkColorSelection *colorsel,
       else
        gtk_widget_hide (priv->palette_frame);
       
-      g_object_notify (G_OBJECT (colorsel), "has_palette");
+      g_object_notify (G_OBJECT (colorsel), "has-palette");
     }
 }
 
index 7969c644208dceca48289a568185f6c81658ec1b..8fd4a77807e4c6092443cd2d39b6168f071a2a6b 100644 (file)
@@ -2598,10 +2598,10 @@ menu_occupied (GtkMenu   *menu,
 
       gtk_container_child_get (GTK_CONTAINER (menu), 
                               i->data,
-                               "left_attach", &l,
-                               "right_attach", &r,
-                               "bottom_attach", &b,
-                               "top_attach", &t,
+                               "left-attach", &l,
+                               "right-attach", &r,
+                               "bottom-attach", &b,
+                               "top-attach", &t,
                                NULL);
 
       /* look if this item intersects with the given coordinates */
@@ -3129,10 +3129,10 @@ gtk_combo_box_menu_row_changed (GtkTreeModel *model,
          move it */
       gtk_container_child_set (GTK_CONTAINER (combo_box->priv->popup_widget),
                                item, 
-                              "left_attach", -1, 
-                              "right_attach", -1,
-                               "top_attach", -1, 
-                              "bottom_attach", -1, 
+                              "left-attach", -1, 
+                              "right-attach", -1,
+                               "top-attach", -1, 
+                              "bottom-attach", -1, 
                               NULL);
 
       gtk_combo_box_relayout_item (combo_box, item, iter, pitem);
@@ -3307,7 +3307,7 @@ gtk_combo_box_list_destroy (GtkComboBox *combo_box)
   if (combo_box->priv->cell_view)
     {
       g_object_set (combo_box->priv->cell_view,
-                    "background_set", FALSE,
+                    "background-set", FALSE,
                     NULL);
     }
 
@@ -4208,7 +4208,7 @@ gtk_combo_box_set_wrap_width (GtkComboBox *combo_box,
       gtk_combo_box_check_appearance (combo_box);
       gtk_combo_box_relayout (combo_box);
       
-      g_object_notify (G_OBJECT (combo_box), "wrap_width");
+      g_object_notify (G_OBJECT (combo_box), "wrap-width");
     }
 }
 
@@ -4258,7 +4258,7 @@ gtk_combo_box_set_row_span_column (GtkComboBox *combo_box,
       
       gtk_combo_box_relayout (combo_box);
  
-      g_object_notify (G_OBJECT (combo_box), "row_span_column");
+      g_object_notify (G_OBJECT (combo_box), "row-span-column");
     }
 }
 
@@ -4308,7 +4308,7 @@ gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
       
       gtk_combo_box_relayout (combo_box);
 
-      g_object_notify (G_OBJECT (combo_box), "column_span_column");
+      g_object_notify (G_OBJECT (combo_box), "column-span-column");
     }
 }
 
@@ -4996,7 +4996,7 @@ gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box,
       combo_box->priv->add_tearoffs = add_tearoffs;
       gtk_combo_box_check_appearance (combo_box);
       gtk_combo_box_relayout (combo_box);
-      g_object_notify (G_OBJECT (combo_box), "add_tearoffs");
+      g_object_notify (G_OBJECT (combo_box), "add-tearoffs");
     }
 }
 
@@ -5118,7 +5118,7 @@ gtk_combo_box_set_focus_on_click (GtkComboBox *combo,
     {
       combo->priv->focus_on_click = focus_on_click;
       
-      g_object_notify (G_OBJECT (combo), "focus_on_click");
+      g_object_notify (G_OBJECT (combo), "focus-on-click");
     }
 }
 
index d13fd26f89549f55e1bdfd891ce9cf866022ff32..3b2974e1ffe2fab30b4a0e7cfddf1297f1dba445 100644 (file)
@@ -227,7 +227,7 @@ has_frame_changed (GtkComboBoxEntry *entry_box,
 {
   gboolean has_frame;
   
-  g_object_get (entry_box, "has_frame", &has_frame, NULL);
+  g_object_get (entry_box, "has-frame", &has_frame, NULL);
 
   gtk_entry_set_has_frame (GTK_ENTRY (entry_box->priv->entry), has_frame);
 }
@@ -293,7 +293,7 @@ gtk_combo_box_entry_new_with_model (GtkTreeModel *model,
 
   ret = g_object_new (gtk_combo_box_entry_get_type (),
                       "model", model,
-                      "text_column", text_column,
+                      "text-column", text_column,
                       NULL);
 
   return ret;
index 98c42af1800c57e74df1e0f30acab2f7543b840c..995f904c121b82755cd342fe6f8eb547bd353c10 100644 (file)
@@ -904,7 +904,7 @@ gtk_container_set_border_width (GtkContainer *container,
   if (container->border_width != border_width)
     {
       container->border_width = border_width;
-      g_object_notify (G_OBJECT (container), "border_width");
+      g_object_notify (G_OBJECT (container), "border-width");
       
       if (GTK_WIDGET_REALIZED (container))
        gtk_widget_queue_resize (GTK_WIDGET (container));
@@ -1034,7 +1034,7 @@ gtk_container_set_resize_mode (GtkContainer  *container,
       container->resize_mode = resize_mode;
       
       gtk_widget_queue_resize (GTK_WIDGET (container));
-      g_object_notify (G_OBJECT (container), "resize_mode");
+      g_object_notify (G_OBJECT (container), "resize-mode");
     }
 }
 
index bd80552acba1a2385c946be9c0c9d89e05b35d7e..d20867a411ea4542efda87379a38b38aa9f69387 100644 (file)
@@ -213,12 +213,9 @@ update_spacings (GtkDialog *dialog)
   widget = GTK_WIDGET (dialog);
 
   gtk_widget_style_get (widget,
-                        "content_area_border",
-                        &content_area_border,
-                        "button_spacing",
-                        &button_spacing,
-                        "action_area_border",
-                        &action_area_border,
+                        "content-area-border", &content_area_border,
+                        "button-spacing", &button_spacing,
+                        "action-area-border", &action_area_border,
                         NULL);
 
   gtk_container_set_border_width (GTK_CONTAINER (dialog->vbox),
@@ -823,7 +820,7 @@ gtk_dialog_set_has_separator (GtkDialog *dialog,
       dialog->separator = NULL;
     }
 
-  g_object_notify (G_OBJECT (dialog), "has_separator");
+  g_object_notify (G_OBJECT (dialog), "has-separator");
 }
 
 /**
index e1212d85586d5e1075d5a23945c3cc4f31efc2fd..688b2a3cb8ed1cfedd1e2c0101e0823c63c31fd4 100644 (file)
@@ -2772,7 +2772,7 @@ gtk_entry_set_positions (GtkEntry *entry,
       entry->current_pos = current_pos;
       changed = TRUE;
 
-      g_object_notify (G_OBJECT (entry), "cursor_position");
+      g_object_notify (G_OBJECT (entry), "cursor-position");
     }
 
   if (selection_bound != -1 &&
@@ -2781,7 +2781,7 @@ gtk_entry_set_positions (GtkEntry *entry,
       entry->selection_bound = selection_bound;
       changed = TRUE;
       
-      g_object_notify (G_OBJECT (entry), "selection_bound");
+      g_object_notify (G_OBJECT (entry), "selection-bound");
     }
 
   g_object_thaw_notify (G_OBJECT (entry));
@@ -3431,7 +3431,7 @@ gtk_entry_adjust_scroll (GtkEntry *entry)
       entry->scroll_offset += weak_xoffset - text_area_width;
     }
 
-  g_object_notify (G_OBJECT (entry), "scroll_offset");
+  g_object_notify (G_OBJECT (entry), "scroll-offset");
 }
 
 static gint
@@ -3935,7 +3935,7 @@ gtk_entry_set_invisible_char (GtkEntry *entry,
     return;
 
   entry->invisible_char = ch;
-  g_object_notify (G_OBJECT (entry), "invisible_char");
+  g_object_notify (G_OBJECT (entry), "invisible-char");
   gtk_entry_recompute (entry);  
 }
 
@@ -4017,7 +4017,7 @@ gtk_entry_set_max_length (GtkEntry     *entry,
     gtk_editable_delete_text (GTK_EDITABLE (entry), max, -1);
   
   entry->text_max_length = max;
-  g_object_notify (G_OBJECT (entry), "max_length");
+  g_object_notify (G_OBJECT (entry), "max-length");
 }
 
 /**
@@ -4063,7 +4063,7 @@ gtk_entry_set_activates_default (GtkEntry *entry,
   if (setting != entry->activates_default)
     {
       entry->activates_default = setting;
-      g_object_notify (G_OBJECT (entry), "activates_default");
+      g_object_notify (G_OBJECT (entry), "activates-default");
     }
 }
 
@@ -4104,7 +4104,7 @@ gtk_entry_set_width_chars (GtkEntry *entry,
   if (entry->width_chars != n_chars)
     {
       entry->width_chars = n_chars;
-      g_object_notify (G_OBJECT (entry), "width_chars");
+      g_object_notify (G_OBJECT (entry), "width-chars");
       gtk_widget_queue_resize (GTK_WIDGET (entry));
     }
 }
@@ -4145,7 +4145,7 @@ gtk_entry_set_has_frame (GtkEntry *entry,
 
   gtk_widget_queue_resize (GTK_WIDGET (entry));
   entry->has_frame = setting;
-  g_object_notify (G_OBJECT (entry), "has_frame");
+  g_object_notify (G_OBJECT (entry), "has-frame");
 }
 
 /**
index bad279f205454b4ead6c948a83f6f19b9c8f032f..dd06d71747817216fae388b01f67d6ea19b6af2c 100644 (file)
@@ -1026,7 +1026,7 @@ gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion *completion,
     {
       completion->priv->minimum_key_length = length;
      
-      g_object_notify (G_OBJECT (completion), "minimum_key_length");
+      g_object_notify (G_OBJECT (completion), "minimum-key-length");
     }
 }
 
@@ -1209,7 +1209,7 @@ gtk_entry_completion_set_text_column (GtkEntryCompletion *completion,
                                  cell,
                                  "text", column);
 
-  g_object_notify (G_OBJECT (completion), "text_column");
+  g_object_notify (G_OBJECT (completion), "text-column");
 }
 
 /**
@@ -1358,7 +1358,7 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
   column = gtk_tree_view_get_column (GTK_TREE_VIEW (completion->priv->action_view), 0);
   renderers = gtk_tree_view_column_get_cell_renderers (column);
   gtk_widget_ensure_style (completion->priv->tree_view);
-  g_object_set (GTK_CELL_RENDERER (renderers->data), "cell_background_gdk",
+  g_object_set (GTK_CELL_RENDERER (renderers->data), "cell-background-gdk",
                 &completion->priv->tree_view->style->bg[GTK_STATE_NORMAL],
                 NULL);
   g_list_free (renderers);
@@ -1542,7 +1542,7 @@ gtk_entry_completion_set_inline_completion (GtkEntryCompletion *completion,
     {
       completion->priv->inline_completion = inline_completion;
 
-      g_object_notify (G_OBJECT (completion), "inline_completion");
+      g_object_notify (G_OBJECT (completion), "inline-completion");
     }
 }
 
@@ -1587,7 +1587,7 @@ gtk_entry_completion_set_popup_completion (GtkEntryCompletion *completion,
     {
       completion->priv->popup_completion = popup_completion;
 
-      g_object_notify (G_OBJECT (completion), "popup_completion");
+      g_object_notify (G_OBJECT (completion), "popup-completion");
     }
 }
 
index 069f2a6a62395af81cdaef1cb165e31d72df37d0..c3d168c782e601b7466f27acce22917c459d4f36 100644 (file)
@@ -1213,7 +1213,7 @@ gtk_expander_new_with_mnemonic (const gchar *label)
 {
   return g_object_new (GTK_TYPE_EXPANDER,
                       "label", label,
-                      "use_underline", TRUE,
+                      "use-underline", TRUE,
                       NULL);
 }
 
@@ -1492,7 +1492,7 @@ gtk_expander_set_use_underline (GtkExpander *expander,
       if (priv->label_widget && GTK_IS_LABEL (priv->label_widget))
        gtk_label_set_use_underline (GTK_LABEL (priv->label_widget), use_underline);
 
-      g_object_notify (G_OBJECT (expander), "use_underline");
+      g_object_notify (G_OBJECT (expander), "use-underline");
     }
 }
 
@@ -1546,7 +1546,7 @@ gtk_expander_set_use_markup (GtkExpander *expander,
       if (priv->label_widget && GTK_IS_LABEL (priv->label_widget))
        gtk_label_set_use_markup (GTK_LABEL (priv->label_widget), use_markup);
 
-      g_object_notify (G_OBJECT (expander), "use_markup");
+      g_object_notify (G_OBJECT (expander), "use-markup");
     }
 }
 
@@ -1617,7 +1617,7 @@ gtk_expander_set_label_widget (GtkExpander *expander,
     gtk_widget_queue_resize (GTK_WIDGET (expander));
 
   g_object_freeze_notify (G_OBJECT (expander));
-  g_object_notify (G_OBJECT (expander), "label_widget");
+  g_object_notify (G_OBJECT (expander), "label-widget");
   g_object_notify (G_OBJECT (expander), "label");
   g_object_thaw_notify (G_OBJECT (expander));
 }
index 8e75ffb142ce071647927837fb2741f23247572e..5c6794b2dfab88f88d3b0fe029d89836de646321 100644 (file)
@@ -2086,8 +2086,7 @@ dialog_notify_cb (GObject    *dialog,
   if (g_object_interface_find_property (iface, pspec->name))
     g_object_notify (user_data, pspec->name);
 
-  if (g_ascii_strcasecmp (pspec->name, "local-only") == 0 ||
-      g_ascii_strcasecmp (pspec->name, "local_only") == 0)
+  if (g_ascii_strcasecmp (pspec->name, "local-only") == 0)
     {
       GtkFileChooserButtonPrivate *priv;
 
index 0e7055c44ea49f2d24dfb7c0f4fcde7a80244a34..ac6cbbf1fcffec455efaa678576eb37f1843eed3 100644 (file)
@@ -6694,8 +6694,8 @@ shortcuts_model_filter_new (GtkFileChooserDefault *impl,
   ShortcutsModelFilter *model;
 
   model = g_object_new (SHORTCUTS_MODEL_FILTER_TYPE,
-                       "child_model", child_model,
-                       "virtual_root", root,
+                       "child-model", child_model,
+                       "virtual-root", root,
                        NULL);
 
   model->impl = impl;
index 3d84acb93caf1f9918f469ac4d75c0692b503c13..6773d184f3564283fe942fcc4fc3211310b18228 100644 (file)
@@ -505,7 +505,7 @@ gtk_font_button_set_use_font (GtkFontButton *font_button,
       else
        gtk_widget_set_style (font_button->priv->font_label, NULL);
  
-     g_object_notify (G_OBJECT (font_button), "use_font");
+     g_object_notify (G_OBJECT (font_button), "use-font");
     }
 } 
 
@@ -551,7 +551,7 @@ gtk_font_button_set_use_size (GtkFontButton *font_button,
       if (font_button->priv->use_font)
         gtk_font_button_label_use_font (font_button);
 
-      g_object_notify (G_OBJECT (font_button), "use_size");
+      g_object_notify (G_OBJECT (font_button), "use-size");
     }
 } 
 
@@ -595,7 +595,7 @@ gtk_font_button_set_show_style (GtkFontButton *font_button,
       
       gtk_font_button_update_font_info (font_button);
   
-      g_object_notify (G_OBJECT (font_button), "show_style");
+      g_object_notify (G_OBJECT (font_button), "show-style");
     }
 } 
 
@@ -645,7 +645,7 @@ gtk_font_button_set_show_size (GtkFontButton *font_button,
       
       gtk_font_button_update_font_info (font_button);
 
-      g_object_notify (G_OBJECT (font_button), "show_size");
+      g_object_notify (G_OBJECT (font_button), "show-size");
     }
 } 
 
@@ -705,7 +705,7 @@ gtk_font_button_set_font_name (GtkFontButton *font_button,
   else
     result = FALSE;
 
-  g_object_notify (G_OBJECT (font_button), "font_name");
+  g_object_notify (G_OBJECT (font_button), "font-name");
 
   return result;
 }
@@ -766,7 +766,7 @@ dialog_ok_clicked (GtkWidget *widget,
   /* Set label font */
   gtk_font_button_update_font_info (font_button);
 
-  g_object_notify (G_OBJECT (font_button), "font_name");
+  g_object_notify (G_OBJECT (font_button), "font-name");
   
   /* Emit font_set signal */
   g_signal_emit (font_button, font_button_signals[FONT_SET], 0);
index 922baead81977b2850470db4354ecfd5ee90adc9..36c9c1c7c02fef134674189e5134f00159cb63bc 100644 (file)
@@ -399,7 +399,7 @@ gtk_frame_set_label_widget (GtkFrame  *frame,
     gtk_widget_queue_resize (GTK_WIDGET (frame));
 
   g_object_freeze_notify (G_OBJECT (frame));
-  g_object_notify (G_OBJECT (frame), "label_widget");
+  g_object_notify (G_OBJECT (frame), "label-widget");
   g_object_notify (G_OBJECT (frame), "label");
   g_object_thaw_notify (G_OBJECT (frame));
 }
@@ -447,13 +447,13 @@ gtk_frame_set_label_align (GtkFrame *frame,
   if (xalign != frame->label_xalign)
     {
       frame->label_xalign = xalign;
-      g_object_notify (G_OBJECT (frame), "label_xalign");
+      g_object_notify (G_OBJECT (frame), "label-xalign");
     }
 
   if (yalign != frame->label_yalign)
     {
       frame->label_yalign = yalign;
-      g_object_notify (G_OBJECT (frame), "label_yalign");
+      g_object_notify (G_OBJECT (frame), "label-yalign");
     }
 
   g_object_thaw_notify (G_OBJECT (frame));
@@ -498,7 +498,7 @@ gtk_frame_set_shadow_type (GtkFrame      *frame,
   if ((GtkShadowType) frame->shadow_type != type)
     {
       frame->shadow_type = type;
-      g_object_notify (G_OBJECT (frame), "shadow_type");
+      g_object_notify (G_OBJECT (frame), "shadow-type");
 
       if (GTK_WIDGET_DRAWABLE (frame))
        {
index 63bf94a5074fcc7565e43ca7f066c4703764465c..f8c4e899aa06bae15a7a61bb56638b1c7426df7c 100644 (file)
@@ -808,7 +808,7 @@ gtk_handle_box_set_shadow_type (GtkHandleBox  *handle_box,
   if ((GtkShadowType) handle_box->shadow_type != type)
     {
       handle_box->shadow_type = type;
-      g_object_notify (G_OBJECT (handle_box), "shadow_type");
+      g_object_notify (G_OBJECT (handle_box), "shadow-type");
       gtk_widget_queue_resize (GTK_WIDGET (handle_box));
     }
 }
@@ -839,7 +839,7 @@ gtk_handle_box_set_handle_position  (GtkHandleBox    *handle_box,
   if ((GtkPositionType) handle_box->handle_position != position)
     {
       handle_box->handle_position = position;
-      g_object_notify (G_OBJECT (handle_box), "handle_position");
+      g_object_notify (G_OBJECT (handle_box), "handle-position");
       gtk_widget_queue_resize (GTK_WIDGET (handle_box));
     }
 }
@@ -872,8 +872,8 @@ gtk_handle_box_set_snap_edge        (GtkHandleBox    *handle_box,
       handle_box->snap_edge = edge;
       
       g_object_freeze_notify (G_OBJECT (handle_box));
-      g_object_notify (G_OBJECT (handle_box), "snap_edge");
-      g_object_notify (G_OBJECT (handle_box), "snap_edge_set");
+      g_object_notify (G_OBJECT (handle_box), "snap-edge");
+      g_object_notify (G_OBJECT (handle_box), "snap-edge-set");
       g_object_thaw_notify (G_OBJECT (handle_box));
     }
 }
index 25a6f9756597e6c84491e63cc1ea06690df36c76..c2860ccd433afb281b03464e351699e7a3095ee9 100644 (file)
@@ -134,7 +134,7 @@ gtk_hpaned_size_request (GtkWidget      *widget,
     {
       gint handle_size;
       
-      gtk_widget_style_get (widget, "handle_size", &handle_size, NULL);
+      gtk_widget_style_get (widget, "handle-size", &handle_size, NULL);
       requisition->width += handle_size;
     }
 }
@@ -166,7 +166,7 @@ gtk_hpaned_size_allocate (GtkWidget     *widget,
       GtkRequisition child2_requisition;
       gint handle_size;
       
-      gtk_widget_style_get (widget, "handle_size", &handle_size, NULL);
+      gtk_widget_style_get (widget, "handle-size", &handle_size, NULL);
 
       gtk_widget_get_child_requisition (paned->child1, &child1_requisition);
       gtk_widget_get_child_requisition (paned->child2, &child2_requisition);
index d954e9c5508a545b9dc9d27a29722b39fe7ec038..87c742789801b5606511138639a728bcc0e34c25 100644 (file)
@@ -215,7 +215,7 @@ gtk_hscale_get_layout_offsets (GtkScale *scale,
       return;
     }
 
-  gtk_widget_style_get (widget, "value_spacing", &value_spacing, NULL);
+  gtk_widget_style_get (widget, "value-spacing", &value_spacing, NULL);
 
   range = GTK_RANGE (widget);
   scale = GTK_SCALE (widget);
index fa2fad3e49b345bea6fe5e94ebe2078e7293653b..e20ab3d04420d03b640a79c9ca0737ed0d4a75b1 100644 (file)
@@ -2117,8 +2117,8 @@ gtk_icon_view_paint_rubberband (GtkIconView     *icon_view,
     return;
 
   gtk_widget_style_get (GTK_WIDGET (icon_view),
-                        "selection_box_color", &fill_color_gdk,
-                        "selection_box_alpha", &fill_color_alpha,
+                        "selection-box-color", &fill_color_gdk,
+                        "selection-box-alpha", &fill_color_alpha,
                         NULL);
 
   if (!fill_color_gdk)
@@ -3132,7 +3132,7 @@ gtk_icon_view_set_selection_mode (GtkIconView      *icon_view,
   
   icon_view->priv->selection_mode = mode;
 
-  g_object_notify (G_OBJECT (icon_view), "selection_mode");
+  g_object_notify (G_OBJECT (icon_view), "selection-mode");
 }
 
 /**
@@ -3322,7 +3322,7 @@ gtk_icon_view_set_text_column (GtkIconView *icon_view,
   gtk_icon_view_invalidate_sizes (icon_view);
   gtk_icon_view_queue_layout (icon_view);
   
-  g_object_notify (G_OBJECT (icon_view), "text_column");
+  g_object_notify (G_OBJECT (icon_view), "text-column");
 }
 
 /**
@@ -3381,7 +3381,7 @@ gtk_icon_view_set_markup_column (GtkIconView *icon_view,
   gtk_icon_view_invalidate_sizes (icon_view);
   gtk_icon_view_queue_layout (icon_view);
   
-  g_object_notify (G_OBJECT (icon_view), "markup_column");
+  g_object_notify (G_OBJECT (icon_view), "markup-column");
 }
 
 /**
@@ -3438,7 +3438,7 @@ gtk_icon_view_set_pixbuf_column (GtkIconView *icon_view,
   gtk_icon_view_invalidate_sizes (icon_view);
   gtk_icon_view_queue_layout (icon_view);
   
-  g_object_notify (G_OBJECT (icon_view), "pixbuf_column");
+  g_object_notify (G_OBJECT (icon_view), "pixbuf-column");
   
 }
 
index 70f926149ad2ac0aaae1c2ed46ae52f6580a2942..719c02b004ad6ee855130356d4cde44fca514278 100644 (file)
@@ -950,7 +950,7 @@ gtk_image_set_from_stock  (GtkImage       *image,
     }
 
   g_object_notify (G_OBJECT (image), "stock");
-  g_object_notify (G_OBJECT (image), "icon_size");
+  g_object_notify (G_OBJECT (image), "icon-size");
   
   g_object_thaw_notify (G_OBJECT (image));
 }
@@ -990,8 +990,8 @@ gtk_image_set_from_icon_set  (GtkImage       *image,
        */
     }
   
-  g_object_notify (G_OBJECT (image), "icon_set");
-  g_object_notify (G_OBJECT (image), "icon_size");
+  g_object_notify (G_OBJECT (image), "icon-set");
+  g_object_notify (G_OBJECT (image), "icon-size");
   
   g_object_thaw_notify (G_OBJECT (image));
 }
@@ -1032,7 +1032,7 @@ gtk_image_set_from_animation (GtkImage           *image,
                              gdk_pixbuf_animation_get_height (animation));
     }
 
-  g_object_notify (G_OBJECT (image), "pixbuf_animation");
+  g_object_notify (G_OBJECT (image), "pixbuf-animation");
   
   g_object_thaw_notify (G_OBJECT (image));
 }
@@ -1076,8 +1076,8 @@ gtk_image_set_from_icon_name  (GtkImage       *image,
        */
     }
 
-  g_object_notify (G_OBJECT (image), "icon_name");
-  g_object_notify (G_OBJECT (image), "icon_size");
+  g_object_notify (G_OBJECT (image), "icon-name");
+  g_object_notify (G_OBJECT (image), "icon-size");
   
   g_object_thaw_notify (G_OBJECT (image));
 }
@@ -1839,7 +1839,7 @@ gtk_image_clear (GtkImage *image)
   g_object_freeze_notify (G_OBJECT (image));
   
   if (image->storage_type != GTK_IMAGE_EMPTY)
-    g_object_notify (G_OBJECT (image), "storage_type");
+    g_object_notify (G_OBJECT (image), "storage-type");
 
   if (image->mask)
     {
@@ -1851,7 +1851,7 @@ gtk_image_clear (GtkImage *image)
   if (image->icon_size != DEFAULT_ICON_SIZE)
     {
       image->icon_size = DEFAULT_ICON_SIZE;
-      g_object_notify (G_OBJECT (image), "icon_size");
+      g_object_notify (G_OBJECT (image), "icon-size");
     }
   
   switch (image->storage_type)
@@ -1899,7 +1899,7 @@ gtk_image_clear (GtkImage *image)
         gtk_icon_set_unref (image->data.icon_set.icon_set);
       image->data.icon_set.icon_set = NULL;
       
-      g_object_notify (G_OBJECT (image), "icon_set");      
+      g_object_notify (G_OBJECT (image), "icon-set");      
       break;
 
     case GTK_IMAGE_ANIMATION:
@@ -1909,7 +1909,7 @@ gtk_image_clear (GtkImage *image)
         g_object_unref (image->data.anim.anim);
       image->data.anim.anim = NULL;
       
-      g_object_notify (G_OBJECT (image), "pixbuf_animation");
+      g_object_notify (G_OBJECT (image), "pixbuf-animation");
       
       break;
 
@@ -1921,7 +1921,7 @@ gtk_image_clear (GtkImage *image)
        g_object_unref (image->data.name.pixbuf);
       image->data.name.pixbuf = NULL;
 
-      g_object_notify (G_OBJECT (image), "icon_name");
+      g_object_notify (G_OBJECT (image), "icon-name");
 
       break;
       
index f53114ddad08132b1b5b722f379bb63fd07a4a6d..fc88fba8b510d7cabe17baf12bd12d09959798fb 100644 (file)
@@ -222,7 +222,7 @@ gtk_image_menu_item_toggle_size_request (GtkMenuItem *menu_item,
        {
          guint toggle_spacing;
          gtk_widget_style_get (GTK_WIDGET (menu_item),
-                               "toggle_spacing", &toggle_spacing,
+                               "toggle-spacing", &toggle_spacing,
                                NULL);
 
          *requisition = image_requisition.width + toggle_spacing;
@@ -283,8 +283,8 @@ gtk_image_menu_item_size_allocate (GtkWidget     *widget,
       guint horizontal_padding, toggle_spacing;
 
       gtk_widget_style_get (widget,
-                           "horizontal_padding", &horizontal_padding,
-                           "toggle_spacing", &toggle_spacing,
+                           "horizontal-padding", &horizontal_padding,
+                           "toggle-spacing", &toggle_spacing,
                            NULL);
       
       /* Man this is lame hardcoding action, but I can't
@@ -492,7 +492,7 @@ gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
   gtk_widget_set_parent (image, GTK_WIDGET (image_menu_item));
   g_object_set (image, 
                "visible", show_image (image_menu_item),
-               "no_show_all", TRUE,
+               "no-show-all", TRUE,
                NULL);
 
   g_object_notify (G_OBJECT (image_menu_item), "image");
index 8f24aaca515a6a7ce54560825e05f71cb6d77ae9..d91b93a9e060b69d563a7384a4c80b694cb5a57a 100644 (file)
@@ -1125,7 +1125,7 @@ gtk_item_factory_create_item (GtkItemFactory           *ifactory,
       label = gtk_widget_new (GTK_TYPE_ACCEL_LABEL,
                              "visible", TRUE,
                              "parent", widget,
-                             "accel_widget", widget,
+                             "accel-widget", widget,
                              "xalign", 0.0,
                              NULL);
       gtk_label_set_text_with_mnemonic (GTK_LABEL (label), name);
index ffed9b0df3fea3fb433d38c12fecef1240f02ebd..79e9fd89c7eec9ab47fa43f6431ae2953b9f0870 100644 (file)
@@ -944,7 +944,7 @@ label_mnemonic_widget_weak_notify (gpointer      data,
   GtkLabel *label = data;
 
   label->mnemonic_widget = NULL;
-  g_object_notify (G_OBJECT (label), "mnemonic_widget");
+  g_object_notify (G_OBJECT (label), "mnemonic-widget");
 }
 
 /**
@@ -990,7 +990,7 @@ gtk_label_set_mnemonic_widget (GtkLabel  *label,
       gtk_widget_add_mnemonic_label (label->mnemonic_widget, GTK_WIDGET (label));
     }
   
-  g_object_notify (G_OBJECT (label), "mnemonic_widget");
+  g_object_notify (G_OBJECT (label), "mnemonic-widget");
 }
 
 /**
@@ -1058,7 +1058,7 @@ gtk_label_set_use_markup_internal (GtkLabel *label,
   val = val != FALSE;
   if (label->use_markup != val)
     {
-      g_object_notify (G_OBJECT (label), "use_markup");
+      g_object_notify (G_OBJECT (label), "use-markup");
       label->use_markup = val;
     }
 }
@@ -1070,7 +1070,7 @@ gtk_label_set_use_underline_internal (GtkLabel *label,
   val = val != FALSE;
   if (label->use_underline != val)
     {
-      g_object_notify (G_OBJECT (label), "use_underline");
+      g_object_notify (G_OBJECT (label), "use-underline");
       label->use_underline = val;
     }
 }
@@ -2997,8 +2997,8 @@ gtk_label_set_selectable (GtkLabel *label,
     {
       g_object_freeze_notify (G_OBJECT (label));
       g_object_notify (G_OBJECT (label), "selectable");
-      g_object_notify (G_OBJECT (label), "cursor_position");
-      g_object_notify (G_OBJECT (label), "selection_bound");
+      g_object_notify (G_OBJECT (label), "cursor-position");
+      g_object_notify (G_OBJECT (label), "selection-bound");
       g_object_thaw_notify (G_OBJECT (label));
       gtk_widget_queue_draw (GTK_WIDGET (label));
     }
@@ -3195,8 +3195,8 @@ gtk_label_select_region_index (GtkLabel *label,
       gtk_widget_queue_draw (GTK_WIDGET (label));
 
       g_object_freeze_notify (G_OBJECT (label));
-      g_object_notify (G_OBJECT (label), "cursor_position");
-      g_object_notify (G_OBJECT (label), "selection_bound");
+      g_object_notify (G_OBJECT (label), "cursor-position");
+      g_object_notify (G_OBJECT (label), "selection-bound");
       g_object_thaw_notify (G_OBJECT (label));
     }
 }
index c4cd80a27a3d2b9c5f80f036a19350cc21650c46..31a9c360b88874c29851a8d8af9fa50e104892ba 100644 (file)
@@ -1809,7 +1809,7 @@ gtk_menu_set_tearoff_state (GtkMenu  *menu,
              menu->tearoff_window = gtk_widget_new (GTK_TYPE_WINDOW,
                                                     "type", GTK_WINDOW_TOPLEVEL,
                                                     "screen", gtk_widget_get_screen (menu->toplevel),
-                                                    "app_paintable", TRUE,
+                                                    "app-paintable", TRUE,
                                                     NULL);
 
              
@@ -1889,7 +1889,7 @@ gtk_menu_set_tearoff_state (GtkMenu  *menu,
          menu->tearoff_adjustment = NULL;
        }
 
-      g_object_notify (G_OBJECT (menu), "tearoff_state");
+      g_object_notify (G_OBJECT (menu), "tearoff-state");
     }
 }
 
@@ -1931,7 +1931,7 @@ gtk_menu_set_title (GtkMenu     *menu,
     g_object_set_data (G_OBJECT (menu), "gtk-menu-title", NULL);
     
   gtk_menu_update_title (menu);
-  g_object_notify (G_OBJECT (menu), "tearoff_title");
+  g_object_notify (G_OBJECT (menu), "tearoff-title");
 }
 
 /**
@@ -2574,7 +2574,7 @@ get_accel_path (GtkWidget *menu_item,
          if (GTK_IS_ACCEL_LABEL (label))
            {
              g_object_get (label, 
-                           "accel_closure", &accel_closure, 
+                           "accel-closure", &accel_closure, 
                            NULL);
              if (accel_closure)
                {
@@ -4014,10 +4014,10 @@ gtk_menu_attach (GtkMenu   *menu,
   else
     {
       gtk_container_child_set (GTK_CONTAINER (child->parent), child,
-                              "left_attach",   left_attach,
-                              "right_attach",  right_attach,
-                              "top_attach",    top_attach,
-                              "bottom_attach", bottom_attach,
+                              "left-attach",   left_attach,
+                              "right-attach",  right_attach,
+                              "top-attach",    top_attach,
+                              "bottom-attach", bottom_attach,
                               NULL);
     }
 }
index d3b2195fc6981feb26bac8e5f7a0e645902f8910..61b991e1d29384fc9eadb17c5fc6dd1dca472d31 100644 (file)
@@ -363,7 +363,7 @@ gtk_menu_bar_size_request (GtkWidget      *widget,
            }
        }
 
-      gtk_widget_style_get (widget, "internal_padding", &ipadding, NULL);
+      gtk_widget_style_get (widget, "internal-padding", &ipadding, NULL);
       
       requisition->width += (GTK_CONTAINER (menu_bar)->border_width +
                              ipadding + 
@@ -411,7 +411,7 @@ gtk_menu_bar_size_allocate (GtkWidget     *widget,
                            allocation->x, allocation->y,
                            allocation->width, allocation->height);
 
-  gtk_widget_style_get (widget, "internal_padding", &ipadding, NULL);
+  gtk_widget_style_get (widget, "internal-padding", &ipadding, NULL);
   
   if (menu_shell->children)
     {
@@ -775,7 +775,7 @@ get_shadow_type (GtkMenuBar *menubar)
   GtkShadowType shadow_type = GTK_SHADOW_OUT;
   
   gtk_widget_style_get (GTK_WIDGET (menubar),
-                       "shadow_type", &shadow_type,
+                       "shadow-type", &shadow_type,
                        NULL);
 
   return shadow_type;
index 2073ca6f0c15135b63b3812e6ada43dde5e3f081..c9e5e3a6dc844b73a184a8533935ca0339924c2d 100644 (file)
@@ -506,7 +506,7 @@ gtk_menu_item_size_request (GtkWidget      *widget,
   g_return_if_fail (requisition != NULL);
 
   gtk_widget_style_get (widget,
-                       "horizontal_padding", &horizontal_padding,
+                       "horizontal-padding", &horizontal_padding,
                        NULL);
   
   bin = GTK_BIN (widget);
@@ -549,7 +549,7 @@ gtk_menu_item_size_request (GtkWidget      *widget,
          guint arrow_spacing;
          
          gtk_widget_style_get (widget,
-                               "arrow_spacing", &arrow_spacing,
+                               "arrow-spacing", &arrow_spacing,
                                NULL);
 
          requisition->width += child_requisition.height;
@@ -609,7 +609,7 @@ gtk_menu_item_size_allocate (GtkWidget     *widget,
       guint horizontal_padding;
 
       gtk_widget_style_get (widget,
-                           "horizontal_padding", &horizontal_padding,
+                           "horizontal-padding", &horizontal_padding,
                            NULL);
 
       child_allocation.x = GTK_CONTAINER (widget)->border_width + widget->style->xthickness;
@@ -756,7 +756,7 @@ gtk_menu_item_paint (GtkWidget    *widget,
          (GTK_BIN (menu_item)->child))
        {
          gtk_widget_style_get (widget,
-                               "selected_shadow_type", &selected_shadow_type,
+                               "selected-shadow-type", &selected_shadow_type,
                                NULL);
          gtk_paint_box (widget->style,
                         widget->window,
@@ -781,7 +781,7 @@ gtk_menu_item_paint (GtkWidget    *widget,
          direction = gtk_widget_get_direction (widget);
       
          gtk_widget_style_get (widget,
-                               "horizontal_padding", &horizontal_padding,
+                               "horizontal-padding", &horizontal_padding,
                                NULL);
          
          context = gtk_widget_get_pango_context (GTK_BIN (menu_item)->child);
@@ -826,7 +826,7 @@ gtk_menu_item_paint (GtkWidget    *widget,
          guint horizontal_padding;
 
          gtk_widget_style_get (widget,
-                               "horizontal_padding", &horizontal_padding,
+                               "horizontal-padding", &horizontal_padding,
                                NULL);
          
          gtk_paint_hline (widget->style, widget->window, GTK_STATE_NORMAL,
@@ -1071,9 +1071,9 @@ get_offsets (GtkMenu *menu,
   gint vertical_padding;
   
   gtk_widget_style_get (GTK_WIDGET (menu),
-                       "horizontal_offset", horizontal_offset,
-                       "vertical_offset", vertical_offset,
-                       "vertical_padding", &vertical_padding,
+                       "horizontal-offset", horizontal_offset,
+                       "vertical-offset", vertical_offset,
+                       "vertical-padding", &vertical_padding,
                        NULL);
 
   *vertical_offset -= GTK_WIDGET (menu)->style->ythickness;
index 7ef15de35a81457de19543f652adbd78475bbb58..dbc099d5bff1d79403465685773732872814e43f 100644 (file)
@@ -511,7 +511,7 @@ gtk_menu_tool_button_new_from_stock (const gchar *stock_id)
   g_return_val_if_fail (stock_id != NULL, NULL);
 
   button = g_object_new (GTK_TYPE_MENU_TOOL_BUTTON,
-                        "stock_id", stock_id,
+                        "stock-id", stock_id,
                         NULL);
 
   return GTK_TOOL_ITEM (button);
index f717418987c329319cefa61896d6e2677e8b9393..5ca713d1c021093ab22f483d8138d749f3a7ec11 100644 (file)
@@ -403,7 +403,7 @@ gtk_message_dialog_new (GtkWindow     *parent,
   g_return_val_if_fail (parent == NULL || GTK_IS_WINDOW (parent), NULL);
 
   widget = g_object_new (GTK_TYPE_MESSAGE_DIALOG,
-                        "message_type", type,
+                        "message-type", type,
                         "buttons", buttons,
                         NULL);
   dialog = GTK_DIALOG (widget);
@@ -712,7 +712,7 @@ gtk_message_dialog_style_set (GtkWidget *widget,
 
   if (parent)
     {
-      gtk_widget_style_get (widget, "message_border",
+      gtk_widget_style_get (widget, "message-border",
                             &border_width, NULL);
       
       gtk_container_set_border_width (GTK_CONTAINER (parent),
@@ -720,7 +720,7 @@ gtk_message_dialog_style_set (GtkWidget *widget,
     }
 
   gtk_widget_style_get (widget,
-                       "use_separator", &use_separator,
+                       "use-separator", &use_separator,
                        NULL);
   _gtk_dialog_set_ignore_separator (GTK_DIALOG (widget), FALSE);
   gtk_dialog_set_has_separator (GTK_DIALOG (widget), use_separator);
index 0c42e2003b658c2098939b47701cf8fd00b208cf..412a8c530652f328a357b865bac1a50a5597f45b 100644 (file)
@@ -2054,10 +2054,10 @@ gtk_notebook_style_set  (GtkWidget *widget,
   notebook = GTK_NOTEBOOK (widget);
   
   gtk_widget_style_get (widget,
-                        "has_backward_stepper", &has_before_previous,
-                        "has_secondary_forward_stepper", &has_before_next,
-                        "has_secondary_backward_stepper", &has_after_previous,
-                        "has_forward_stepper", &has_after_next,
+                        "has-backward-stepper", &has_before_previous,
+                        "has-secondary-forward-stepper", &has_before_next,
+                        "has-secondary-backward-stepper", &has_after_previous,
+                        "has-forward-stepper", &has_after_next,
                         NULL);
   
   notebook->has_before_previous = has_before_previous;
@@ -4061,8 +4061,8 @@ gtk_notebook_set_tab_border_internal (GtkNotebook *notebook,
     gtk_widget_queue_resize (GTK_WIDGET (notebook));
 
   g_object_freeze_notify (G_OBJECT (notebook));
-  g_object_notify (G_OBJECT (notebook), "tab_hborder");
-  g_object_notify (G_OBJECT (notebook), "tab_vborder");
+  g_object_notify (G_OBJECT (notebook), "tab-hborder");
+  g_object_notify (G_OBJECT (notebook), "tab-vborder");
   g_object_thaw_notify (G_OBJECT (notebook));
 }
 
@@ -4080,7 +4080,7 @@ gtk_notebook_set_tab_hborder_internal (GtkNotebook *notebook,
   if (GTK_WIDGET_VISIBLE (notebook) && notebook->show_tabs)
     gtk_widget_queue_resize (GTK_WIDGET (notebook));
 
-  g_object_notify (G_OBJECT (notebook), "tab_hborder");
+  g_object_notify (G_OBJECT (notebook), "tab-hborder");
 }
 
 static void
@@ -4097,7 +4097,7 @@ gtk_notebook_set_tab_vborder_internal (GtkNotebook *notebook,
   if (GTK_WIDGET_VISIBLE (notebook) && notebook->show_tabs)
     gtk_widget_queue_resize (GTK_WIDGET (notebook));
 
-  g_object_notify (G_OBJECT (notebook), "tab_vborder");
+  g_object_notify (G_OBJECT (notebook), "tab-vborder");
 }
 
 /* Public GtkNotebook Page Insert/Remove Methods :
@@ -4399,11 +4399,11 @@ gtk_notebook_insert_page_menu (GtkNotebook *notebook,
                        G_CALLBACK (gtk_notebook_mnemonic_activate_switch_page),
                        notebook);
 
-  gtk_widget_child_notify (child, "tab_expand");
-  gtk_widget_child_notify (child, "tab_fill");
-  gtk_widget_child_notify (child, "tab_pack");
-  gtk_widget_child_notify (child, "tab_label");
-  gtk_widget_child_notify (child, "menu_label");
+  gtk_widget_child_notify (child, "tab-expand");
+  gtk_widget_child_notify (child, "tab-fill");
+  gtk_widget_child_notify (child, "tab-pack");
+  gtk_widget_child_notify (child, "tab-label");
+  gtk_widget_child_notify (child, "menu-label");
   gtk_widget_child_notify (child, "position");
   gtk_widget_thaw_child_notify (child);
 
@@ -4670,7 +4670,7 @@ gtk_notebook_set_show_border (GtkNotebook *notebook,
       if (GTK_WIDGET_VISIBLE (notebook))
        gtk_widget_queue_resize (GTK_WIDGET (notebook));
       
-      g_object_notify (G_OBJECT (notebook), "show_border");
+      g_object_notify (G_OBJECT (notebook), "show-border");
     }
 }
 
@@ -4739,7 +4739,7 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
     }
   gtk_widget_queue_resize (GTK_WIDGET (notebook));
 
-  g_object_notify (G_OBJECT (notebook), "show_tabs");
+  g_object_notify (G_OBJECT (notebook), "show-tabs");
 }
 
 /**
@@ -4780,7 +4780,7 @@ gtk_notebook_set_tab_pos (GtkNotebook     *notebook,
        gtk_widget_queue_resize (GTK_WIDGET (notebook));
     }
 
-  g_object_notify (G_OBJECT (notebook), "tab_pos");
+  g_object_notify (G_OBJECT (notebook), "tab-pos");
 }
 
 /**
@@ -4946,7 +4946,7 @@ gtk_notebook_popup_enable (GtkNotebook *notebook)
                             GTK_WIDGET (notebook),
                             gtk_notebook_menu_detacher);
 
-  g_object_notify (G_OBJECT (notebook), "enable_popup");
+  g_object_notify (G_OBJECT (notebook), "enable-popup");
 }
 
 /**
@@ -4967,7 +4967,7 @@ gtk_notebook_popup_disable  (GtkNotebook *notebook)
                         (GtkCallback) gtk_notebook_menu_label_unparent, NULL);
   gtk_widget_destroy (notebook->menu);
 
-  g_object_notify (G_OBJECT (notebook), "enable_popup");
+  g_object_notify (G_OBJECT (notebook), "enable-popup");
 }
 
 /* Public GtkNotebook Page Properties Functions:
@@ -5084,7 +5084,7 @@ gtk_notebook_set_tab_label (GtkNotebook *notebook,
     }
 
   gtk_notebook_update_tab_states (notebook);
-  gtk_widget_child_notify (child, "tab_label");
+  gtk_widget_child_notify (child, "tab-label");
 }
 
 /**
@@ -5108,7 +5108,7 @@ gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
   if (tab_text)
     tab_label = gtk_label_new (tab_text);
   gtk_notebook_set_tab_label (notebook, child, tab_label);
-  gtk_widget_child_notify (child, "tab_label");
+  gtk_widget_child_notify (child, "tab-label");
 }
 
 /**
@@ -5217,7 +5217,7 @@ gtk_notebook_set_menu_label (GtkNotebook *notebook,
 
   if (notebook->menu)
     gtk_notebook_menu_item_create (notebook, list);
-  gtk_widget_child_notify (child, "menu_label");
+  gtk_widget_child_notify (child, "menu-label");
 }
 
 /**
@@ -5240,7 +5240,7 @@ gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
   if (menu_text)
     menu_label = gtk_label_new (menu_text);
   gtk_notebook_set_menu_label (notebook, child, menu_label);
-  gtk_widget_child_notify (child, "menu_label");
+  gtk_widget_child_notify (child, "menu-label");
 }
 
 /**
@@ -5331,15 +5331,15 @@ gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
 
   gtk_widget_freeze_child_notify (child);
   page->expand = expand;
-  gtk_widget_child_notify (child, "tab_expand");
+  gtk_widget_child_notify (child, "tab-expand");
   page->fill = fill;
-  gtk_widget_child_notify (child, "tab_fill");
+  gtk_widget_child_notify (child, "tab-fill");
   if (page->pack != pack_type)
     {
       page->pack = pack_type;
       gtk_notebook_child_reordered (notebook, page);
     }
-  gtk_widget_child_notify (child, "tab_pack");
+  gtk_widget_child_notify (child, "tab-pack");
   gtk_widget_child_notify (child, "position");
   if (notebook->show_tabs)
     gtk_notebook_pages_allocate (notebook);
@@ -5434,7 +5434,7 @@ gtk_notebook_reorder_child (GtkNotebook *notebook,
 
   /* Move around the menu items if necessary */
   gtk_notebook_child_reordered (notebook, page);
-  gtk_widget_child_notify (child, "tab_pack");
+  gtk_widget_child_notify (child, "tab-pack");
   gtk_widget_child_notify (child, "position");
   
   if (notebook->show_tabs)
index 4754ab317a8132ffe762683343b1ff83ddee3113..a6b48e9537bd7b11629437c2894c89434872ad8c 100644 (file)
@@ -795,7 +795,7 @@ update_drag (GtkPaned *paned)
   if (is_rtl (paned))
     {
       gtk_widget_style_get (GTK_WIDGET (paned),
-                           "handle_size", &handle_size,
+                           "handle-size", &handle_size,
                            NULL);
       
       size = GTK_WIDGET (paned)->allocation.width - pos - handle_size;
@@ -1110,7 +1110,7 @@ gtk_paned_set_position (GtkPaned *paned,
 
   g_object_freeze_notify (object);
   g_object_notify (object, "position");
-  g_object_notify (object, "position_set");
+  g_object_notify (object, "position-set");
   g_object_thaw_notify (object);
 
   gtk_widget_queue_resize (GTK_WIDGET (paned));
@@ -1211,9 +1211,9 @@ gtk_paned_compute_position (GtkPaned *paned,
   if (paned->child1_size != old_position)
     g_object_notify (G_OBJECT (paned), "position");
   if (paned->min_position != old_min_position)
-    g_object_notify (G_OBJECT (paned), "min_position");
+    g_object_notify (G_OBJECT (paned), "min-position");
   if (paned->max_position != old_max_position)
-    g_object_notify (G_OBJECT (paned), "max_position");
+    g_object_notify (G_OBJECT (paned), "max-position");
   g_object_thaw_notify (G_OBJECT (paned));
 
   paned->last_allocation = allocation;
index 4a6b819f483a5e9d03de3cf55463400101ebddce..cb3fcc2920e8fccb10677c2b8d704f03de2fcdbe 100644 (file)
@@ -653,7 +653,7 @@ gtk_progress_set_show_text (GtkProgress *progress,
 
       gtk_widget_queue_resize (GTK_WIDGET (progress));
 
-      g_object_notify (G_OBJECT (progress), "show_text");
+      g_object_notify (G_OBJECT (progress), "show-text");
     }
 }
 
@@ -672,13 +672,13 @@ gtk_progress_set_text_alignment (GtkProgress *progress,
       if (progress->x_align != x_align)
        {
          progress->x_align = x_align;
-         g_object_notify (G_OBJECT (progress), "text_xalign");
+         g_object_notify (G_OBJECT (progress), "text-xalign");
        }
 
       if (progress->y_align != y_align)
        {
          progress->y_align = y_align;
-         g_object_notify (G_OBJECT (progress), "text_yalign");
+         g_object_notify (G_OBJECT (progress), "text-yalign");
        }
       g_object_thaw_notify (G_OBJECT (progress));
 
@@ -752,7 +752,7 @@ gtk_progress_set_activity_mode (GtkProgress *progress,
       if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (progress)))
        gtk_widget_queue_resize (GTK_WIDGET (progress));
 
-      g_object_notify (G_OBJECT (progress), "activity_mode");
+      g_object_notify (G_OBJECT (progress), "activity-mode");
     }
 }
 
index 0979f3a693fd201947212bbac6f6029e20e5ae3d..95951c04a3c62e88756c660607fc62333204de36 100644 (file)
@@ -934,7 +934,7 @@ gtk_progress_bar_set_bar_style_internal (GtkProgressBar     *pbar,
       if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (pbar)))
        gtk_widget_queue_resize (GTK_WIDGET (pbar));
 
-      g_object_notify (G_OBJECT (pbar), "bar_style");
+      g_object_notify (G_OBJECT (pbar), "bar-style");
     }
 }
 
@@ -952,7 +952,7 @@ gtk_progress_bar_set_discrete_blocks_internal (GtkProgressBar *pbar,
       if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (pbar)))
        gtk_widget_queue_resize (GTK_WIDGET (pbar));
 
-      g_object_notify (G_OBJECT (pbar), "discrete_blocks");
+      g_object_notify (G_OBJECT (pbar), "discrete-blocks");
     }
 }
 
@@ -965,7 +965,7 @@ gtk_progress_bar_set_activity_step_internal (GtkProgressBar *pbar,
   if (pbar->activity_step != step)
     {
       pbar->activity_step = step;
-      g_object_notify (G_OBJECT (pbar), "activity_step");
+      g_object_notify (G_OBJECT (pbar), "activity-step");
     }
 }
 
@@ -979,7 +979,7 @@ gtk_progress_bar_set_activity_blocks_internal (GtkProgressBar *pbar,
   if (pbar->activity_blocks != blocks)
     {
       pbar->activity_blocks = blocks;
-      g_object_notify (G_OBJECT (pbar), "activity_blocks");
+      g_object_notify (G_OBJECT (pbar), "activity-blocks");
     }
 }
 
@@ -1076,7 +1076,7 @@ gtk_progress_bar_set_pulse_step   (GtkProgressBar *pbar,
   
   pbar->pulse_fraction = fraction;
 
-  g_object_notify (G_OBJECT (pbar), "pulse_step");
+  g_object_notify (G_OBJECT (pbar), "pulse-step");
 }
 
 void
index 815dc4f2549289b7f53f29778f7ce2cdbfdb213e..45e1a5b88862dc8cf8a565068daef11f44a647a5 100644 (file)
@@ -219,7 +219,7 @@ gtk_radio_action_new (const gchar *name,
                         "name", name,
                         "label", label,
                         "tooltip", tooltip,
-                        "stock_id", stock_id,
+                        "stock-id", stock_id,
                         "value", value,
                         NULL);
 
@@ -234,8 +234,6 @@ gtk_radio_action_finalize (GObject *object)
 
   action = GTK_RADIO_ACTION (object);
 
-  g_print ("finalize %p\n", action);
-
   action->private_data->group = g_slist_remove (action->private_data->group, action);
 
   tmp_list = action->private_data->group;
@@ -368,7 +366,7 @@ static GtkWidget *
 create_menu_item (GtkAction *action)
 {
   return g_object_new (GTK_TYPE_CHECK_MENU_ITEM, 
-                      "draw_as_radio", TRUE,
+                      "draw-as-radio", TRUE,
                       NULL);
 }
 
index 3b3a61ac887536b449f2fc72a95f9e926165d4bb..4fc4df5ada6fd3670fb80528426b8e33f812f949 100644 (file)
@@ -321,7 +321,10 @@ gtk_radio_button_new_with_mnemonic (GSList      *group,
 {
   GtkWidget *radio_button;
 
-  radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, "label", label, "use_underline", TRUE, NULL);
+  radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, 
+                              "label", label, 
+                              "use-underline", TRUE, 
+                              NULL);
 
   if (group)
     gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_button), group);
@@ -682,7 +685,7 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
       toggle_button = GTK_TOGGLE_BUTTON (check_button);
 
       gtk_widget_style_get (widget,
-                           "interior_focus", &interior_focus,
+                           "interior-focus", &interior_focus,
                            "focus-line-width", &focus_width,
                            "focus-padding", &focus_pad,
                            NULL);
index f5c52f741298863cf05cc22f7c33fa52a76fac29..5f851bf250e87fd16356c8d1fa41633ebdbff6ed 100644 (file)
@@ -179,7 +179,7 @@ gtk_radio_tool_button_new_from_stock (GSList      *group,
   g_return_val_if_fail (stock_id != NULL, NULL);
   
   button = g_object_new (GTK_TYPE_RADIO_TOOL_BUTTON,
-                        "stock_id", stock_id,
+                        "stock-id", stock_id,
                         NULL);
 
 
index e78446a3a0d6d3237abe12d949ae8c7400151db1..d8340eb7c5f79433e0fae78c62f37c47f823f9fe 100644 (file)
@@ -520,7 +520,7 @@ gtk_range_set_update_policy (GtkRange      *range,
   if (range->update_policy != policy)
     {
       range->update_policy = policy;
-      g_object_notify (G_OBJECT (range), "update_policy");
+      g_object_notify (G_OBJECT (range), "update-policy");
     }
 }
 
@@ -1783,12 +1783,12 @@ gtk_range_get_props (GtkRange  *range,
   gint tmp_arrow_displacement_x, tmp_arrow_displacement_y;
   
   gtk_widget_style_get (widget,
-                        "slider_width", &tmp_slider_width,
-                        "trough_border", &tmp_trough_border,
-                        "stepper_size", &tmp_stepper_size,
-                        "stepper_spacing", &tmp_stepper_spacing,
-                       "arrow_displacement_x", &tmp_arrow_displacement_x,
-                       "arrow_displacement_y", &tmp_arrow_displacement_y,
+                        "slider-width", &tmp_slider_width,
+                        "trough-border", &tmp_trough_border,
+                        "stepper-size", &tmp_stepper_size,
+                        "stepper-spacing", &tmp_stepper_spacing,
+                       "arrow-displacement-x", &tmp_arrow_displacement_x,
+                       "arrow-displacement-y", &tmp_arrow_displacement_y,
                         NULL);
   
   if (GTK_WIDGET_CAN_FOCUS (range))
index 779718aeba98c67f32e6eb1059c3da74ad7f6da6..77f31e24ba4227e11735da65fc68aa4820ed5191 100644 (file)
@@ -292,7 +292,7 @@ gtk_ruler_set_range (GtkRuler *ruler,
   if (ruler->max_size != max_size)
     {
       ruler->max_size = max_size;
-      g_object_notify (G_OBJECT (ruler), "max_size");
+      g_object_notify (G_OBJECT (ruler), "max-size");
     }
   g_object_thaw_notify (G_OBJECT (ruler));
 
index a28bea7403d40a2aa5436b96391f2487349c2f96..7a73da86012fce80457cb1889c4deb7cb2570c5f 100644 (file)
@@ -461,7 +461,7 @@ gtk_scale_set_draw_value (GtkScale *scale,
 
       gtk_widget_queue_resize (GTK_WIDGET (scale));
 
-      g_object_notify (G_OBJECT (scale), "draw_value");
+      g_object_notify (G_OBJECT (scale), "draw-value");
     }
 }
 
@@ -487,7 +487,7 @@ gtk_scale_set_value_pos (GtkScale        *scale,
       if (GTK_WIDGET_VISIBLE (scale) && GTK_WIDGET_MAPPED (scale))
        gtk_widget_queue_resize (GTK_WIDGET (scale));
 
-      g_object_notify (G_OBJECT (scale), "value_pos");
+      g_object_notify (G_OBJECT (scale), "value-pos");
     }
 }
 
@@ -520,7 +520,7 @@ gtk_scale_get_range_border (GtkRange  *range,
   if (scale->draw_value)
     {
       gint value_spacing;
-      gtk_widget_style_get (widget, "value_spacing", &value_spacing, NULL);
+      gtk_widget_style_get (widget, "value-spacing", &value_spacing, NULL);
 
       switch (scale->value_pos)
         {
@@ -604,7 +604,7 @@ gtk_scale_style_set (GtkWidget *widget,
   range = GTK_RANGE (widget);
   
   gtk_widget_style_get (widget,
-                        "slider_length", &slider_length,
+                        "slider-length", &slider_length,
                         NULL);
   
   range->min_slider_size = slider_length;
index 226f675ddef5d9da876498d35414a561a743f9fc..e58f646058a83eef4c9fcd4d0027fe804aac2f70 100644 (file)
@@ -148,12 +148,12 @@ gtk_scrollbar_style_set  (GtkWidget *widget,
   range = GTK_RANGE (widget);
   
   gtk_widget_style_get (widget,
-                        "min_slider_length", &slider_length,
-                        "fixed_slider_length", &fixed_size,
-                        "has_backward_stepper", &has_a,
-                        "has_secondary_forward_stepper", &has_b,
-                        "has_secondary_backward_stepper", &has_c,
-                        "has_forward_stepper", &has_d,
+                        "min-slider-length", &slider_length,
+                        "fixed-slider-length", &fixed_size,
+                        "has-backward-stepper", &has_a,
+                        "has-secondary-forward-stepper", &has_b,
+                        "has-secondary-backward-stepper", &has_c,
+                        "has-forward-stepper", &has_d,
                         NULL);
   
   range->min_slider_size = slider_length;
index 7618b2a018c9922872e34bb00a7e02e4271f88cf..59f244b3d318602edba97bea1cb51df2c86fa9bc 100644 (file)
@@ -513,8 +513,8 @@ gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window,
       gtk_widget_queue_resize (GTK_WIDGET (scrolled_window));
 
       g_object_freeze_notify (object);
-      g_object_notify (object, "hscrollbar_policy");
-      g_object_notify (object, "vscrollbar_policy");
+      g_object_notify (object, "hscrollbar-policy");
+      g_object_notify (object, "vscrollbar-policy");
       g_object_thaw_notify (object);
     }
 }
@@ -553,7 +553,7 @@ gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window,
 
       gtk_widget_queue_resize (GTK_WIDGET (scrolled_window));
       
-      g_object_notify (G_OBJECT (scrolled_window), "window_placement");
+      g_object_notify (G_OBJECT (scrolled_window), "window-placement");
     }
 }
 
@@ -599,7 +599,7 @@ gtk_scrolled_window_set_shadow_type (GtkScrolledWindow *scrolled_window,
 
       gtk_widget_queue_resize (GTK_WIDGET (scrolled_window));
 
-      g_object_notify (G_OBJECT (scrolled_window), "shadow_type");
+      g_object_notify (G_OBJECT (scrolled_window), "shadow-type");
     }
 }
 
@@ -1413,7 +1413,7 @@ _gtk_scrolled_window_get_scrollbar_spacing (GtkScrolledWindow *scrolled_window)
       gint scrollbar_spacing;
       
       gtk_widget_style_get (GTK_WIDGET (scrolled_window),
-                           "scrollbar_spacing", &scrollbar_spacing,
+                           "scrollbar-spacing", &scrollbar_spacing,
                            NULL);
 
       return scrollbar_spacing;
index fd56650dd559ab3923a4a95fb225f9e8b4a84f93..3fcfa61eacdad75115ddbfb3410bb4821df40c39 100644 (file)
@@ -102,7 +102,7 @@ get_space_size (GtkToolItem *tool_item)
   if (GTK_IS_TOOLBAR (parent))
     {
       gtk_widget_style_get (parent,
-                           "space_size", &space_size,
+                           "space-size", &space_size,
                            NULL);
     }
   
index d3fe2756b49c610ea80e50b9c0177f2873397d5f..a1679fbe6bd346f3cf469fe6b828394a4f50a647 100644 (file)
@@ -817,7 +817,7 @@ static void
 gtk_socket_notify (GObject    *object,
                   GParamSpec *pspec)
 {
-  if (!strcmp (pspec->name, "is_focus"))
+  if (!strcmp (pspec->name, "is-focus"))
     return;
 
   socket_update_focus_in (GTK_SOCKET (object));
index 435470a7356e3d596d4501d499070d9109c8ab91..ddffe6049a1a20a76c0b0c1cb7fba03f402b58e8 100644 (file)
@@ -1563,7 +1563,7 @@ gtk_spin_button_configure (GtkSpinButton  *spin_button,
   if (spin_button->climb_rate != climb_rate)
     {
       spin_button->climb_rate = climb_rate;
-      g_object_notify (G_OBJECT (spin_button), "climb_rate");
+      g_object_notify (G_OBJECT (spin_button), "climb-rate");
     }
   g_object_thaw_notify (G_OBJECT (spin_button));
 
@@ -1921,7 +1921,7 @@ gtk_spin_button_set_update_policy (GtkSpinButton             *spin_button,
   if (spin_button->update_policy != policy)
     {
       spin_button->update_policy = policy;
-      g_object_notify (G_OBJECT (spin_button), "update_policy");
+      g_object_notify (G_OBJECT (spin_button), "update-policy");
     }
 }
 
@@ -2049,7 +2049,7 @@ spin_button_get_shadow_type (GtkSpinButton *spin_button)
 {
   GtkShadowType rc_shadow_type;
 
-  gtk_widget_style_get (GTK_WIDGET (spin_button), "shadow_type", &rc_shadow_type, NULL);
+  gtk_widget_style_get (GTK_WIDGET (spin_button), "shadow-type", &rc_shadow_type, NULL);
 
   return rc_shadow_type;
 }
@@ -2078,7 +2078,7 @@ gtk_spin_button_set_snap_to_ticks (GtkSpinButton *spin_button,
       if (new_val && GTK_ENTRY (spin_button)->editable)
        gtk_spin_button_update (spin_button);
       
-      g_object_notify (G_OBJECT (spin_button), "snap_to_ticks");
+      g_object_notify (G_OBJECT (spin_button), "snap-to-ticks");
     }
 }
 
index 36cd3625b158b2c82575ff8199f4edfb0c2069e3..13beb6ef3b2154301da782c64012e1346993b7ad 100644 (file)
@@ -222,7 +222,7 @@ gtk_statusbar_init (GtkStatusbar *statusbar)
 
   statusbar->has_resize_grip = TRUE;
 
-  gtk_widget_style_get (GTK_WIDGET (statusbar), "shadow_type", &shadow_type, NULL);
+  gtk_widget_style_get (GTK_WIDGET (statusbar), "shadow-type", &shadow_type, NULL);
   
   statusbar->frame = gtk_frame_new (NULL);
   gtk_frame_set_shadow_type (GTK_FRAME (statusbar->frame), shadow_type);
@@ -429,7 +429,7 @@ gtk_statusbar_set_has_resize_grip (GtkStatusbar *statusbar,
             gtk_statusbar_destroy_window (statusbar);
         }
       
-      g_object_notify (G_OBJECT (statusbar), "has_resize_grip");
+      g_object_notify (G_OBJECT (statusbar), "has-resize-grip");
     }
 }
 
@@ -759,7 +759,7 @@ gtk_statusbar_size_request   (GtkWidget      *widget,
   
   statusbar = GTK_STATUSBAR (widget);
 
-  gtk_widget_style_get (GTK_WIDGET (statusbar), "shadow_type", &shadow_type, NULL);  
+  gtk_widget_style_get (GTK_WIDGET (statusbar), "shadow-type", &shadow_type, NULL);  
   gtk_frame_set_shadow_type (GTK_FRAME (statusbar->frame), shadow_type);
   
   GTK_WIDGET_CLASS (parent_class)->size_request (widget, requisition);
index d014c798fbd63f7a0d6961d3e06964992d838b0d..ad4093ba9aed4546de7bc9f952ab038e5eb74231 100644 (file)
@@ -3235,8 +3235,8 @@ option_menu_get_props (GtkWidget      *widget,
   
   if (widget)
     gtk_widget_style_get (widget, 
-                         "indicator_size", &tmp_size,
-                         "indicator_spacing", &tmp_spacing,
+                         "indicator-size", &tmp_size,
+                         "indicator-spacing", &tmp_spacing,
                          NULL);
 
   if (tmp_size)
@@ -3466,7 +3466,7 @@ gtk_default_draw_flat_box (GtkStyle      *style,
              GdkColor *color = NULL;
 
              gtk_widget_style_get (widget,
-                                   "even_row_color", &color,
+                                   "even-row-color", &color,
                                    NULL);
 
              if (color)
@@ -3484,7 +3484,7 @@ gtk_default_draw_flat_box (GtkStyle      *style,
              GdkColor *color;
 
              gtk_widget_style_get (widget,
-                                   "odd_row_color", &color,
+                                   "odd-row-color", &color,
                                    NULL);
 
              if (color)
@@ -3497,7 +3497,7 @@ gtk_default_draw_flat_box (GtkStyle      *style,
              else
                {
                  gtk_widget_style_get (widget,
-                                       "even_row_color", &color,
+                                       "even-row-color", &color,
                                        NULL);
 
                  if (color)
@@ -3518,11 +3518,11 @@ gtk_default_draw_flat_box (GtkStyle      *style,
 
              if (!strcmp ("cell_odd_sorted", detail))
                gtk_widget_style_get (widget,
-                                     "odd_row_color", &color,
+                                     "odd-row-color", &color,
                                      NULL);
              else
                gtk_widget_style_get (widget,
-                                     "even_row_color", &color,
+                                     "even-row-color", &color,
                                      NULL);
 
              if (color)
@@ -3543,7 +3543,7 @@ gtk_default_draw_flat_box (GtkStyle      *style,
              GdkColor *color = NULL;
 
              gtk_widget_style_get (widget,
-                                   "odd_row_color", &color,
+                                   "odd-row-color", &color,
                                    NULL);
 
              if (color)
@@ -3556,7 +3556,7 @@ gtk_default_draw_flat_box (GtkStyle      *style,
              else
                {
                  gtk_widget_style_get (widget,
-                                       "even_row_color", &color,
+                                       "even-row-color", &color,
                                        NULL);
 
                  if (color)
index 2cb4474a27afcfceb6bfb3022300d2173d959c9d..055224557f4a01b7bb80a55afaf1164bf8692840 100644 (file)
@@ -554,7 +554,7 @@ gtk_table_resize (GtkTable *table,
              table->rows[i].shrink = 0;
            }
 
-         g_object_notify (G_OBJECT (table), "n_rows");
+         g_object_notify (G_OBJECT (table), "n-rows");
        }
 
       if (n_cols != table->ncols)
@@ -576,7 +576,7 @@ gtk_table_resize (GtkTable *table,
              table->cols[i].shrink = 0;
            }
 
-         g_object_notify (G_OBJECT (table), "n_columns");
+         g_object_notify (G_OBJECT (table), "n-columns");
        }
     }
 }
@@ -735,7 +735,7 @@ gtk_table_set_row_spacings (GtkTable *table,
   if (GTK_WIDGET_VISIBLE (table))
     gtk_widget_queue_resize (GTK_WIDGET (table));
 
-  g_object_notify (G_OBJECT (table), "row_spacing");
+  g_object_notify (G_OBJECT (table), "row-spacing");
 }
 
 /**
@@ -771,7 +771,7 @@ gtk_table_set_col_spacings (GtkTable *table,
   if (GTK_WIDGET_VISIBLE (table))
     gtk_widget_queue_resize (GTK_WIDGET (table));
 
-  g_object_notify (G_OBJECT (table), "column_spacing");
+  g_object_notify (G_OBJECT (table), "column-spacing");
 }
 
 /**
index 88a6a466f77f54fe811029083fb8de7c1319b230..c68e48327d66a0a6683829883bfd1f553f8fe3a1 100644 (file)
@@ -157,7 +157,7 @@ gtk_tearoff_menu_item_paint (GtkWidget   *widget,
          gint selected_shadow_type;
          
          gtk_widget_style_get (widget,
-                               "selected_shadow_type", &selected_shadow_type,
+                               "selected-shadow-type", &selected_shadow_type,
                                NULL);
          gtk_paint_box (widget->style,
                         widget->window,
index 3cea28d37e8ca303b7ff69eb6ec60348af9088dd..c7067102189bda9518f53cf91cbf9c760768747d 100644 (file)
@@ -426,7 +426,7 @@ gtk_text_buffer_new (GtkTextTagTable *table)
 {
   GtkTextBuffer *text_buffer;
 
-  text_buffer = g_object_new (GTK_TYPE_TEXT_BUFFER, "tag_table", table, NULL);
+  text_buffer = g_object_new (GTK_TYPE_TEXT_BUFFER, "tag-table", table, NULL);
 
   return text_buffer;
 }
index 675629019ba82197884ba0809cd089aaa32cf91c..996b2d5d0f54cc06fcb6447b895a00dab198e2cc 100644 (file)
@@ -688,7 +688,7 @@ set_bg_color (GtkTextTag *tag, GdkColor *color)
       if (!tag->bg_color_set)
         {
           tag->bg_color_set = TRUE;
-          g_object_notify (G_OBJECT (tag), "background_set");
+          g_object_notify (G_OBJECT (tag), "background-set");
         }
       
       tag->values->appearance.bg_color = *color;
@@ -698,7 +698,7 @@ set_bg_color (GtkTextTag *tag, GdkColor *color)
       if (tag->bg_color_set)
         {
           tag->bg_color_set = FALSE;
-          g_object_notify (G_OBJECT (tag), "background_set");
+          g_object_notify (G_OBJECT (tag), "background-set");
         }
     }
 }
@@ -711,7 +711,7 @@ set_fg_color (GtkTextTag *tag, GdkColor *color)
       if (!tag->fg_color_set)
         {
           tag->fg_color_set = TRUE;
-          g_object_notify (G_OBJECT (tag), "foreground_set");
+          g_object_notify (G_OBJECT (tag), "foreground-set");
         }
       tag->values->appearance.fg_color = *color;
     }
@@ -720,7 +720,7 @@ set_fg_color (GtkTextTag *tag, GdkColor *color)
       if (tag->fg_color_set)
         {
           tag->fg_color_set = FALSE;
-          g_object_notify (G_OBJECT (tag), "foreground_set");
+          g_object_notify (G_OBJECT (tag), "foreground-set");
         }
     }
 }
@@ -792,17 +792,17 @@ notify_set_changed (GObject       *object,
                    PangoFontMask  changed_mask)
 {
   if (changed_mask & PANGO_FONT_MASK_FAMILY)
-    g_object_notify (object, "family_set");
+    g_object_notify (object, "family-set");
   if (changed_mask & PANGO_FONT_MASK_STYLE)
-    g_object_notify (object, "style_set");
+    g_object_notify (object, "style-set");
   if (changed_mask & PANGO_FONT_MASK_VARIANT)
-    g_object_notify (object, "variant_set");
+    g_object_notify (object, "variant-set");
   if (changed_mask & PANGO_FONT_MASK_WEIGHT)
-    g_object_notify (object, "weight_set");
+    g_object_notify (object, "weight-set");
   if (changed_mask & PANGO_FONT_MASK_STRETCH)
-    g_object_notify (object, "stretch_set");
+    g_object_notify (object, "stretch-set");
   if (changed_mask & PANGO_FONT_MASK_SIZE)
-    g_object_notify (object, "size_set");
+    g_object_notify (object, "size-set");
 }
 
 static void
@@ -852,7 +852,7 @@ set_font_description (GtkTextTag           *text_tag,
   
   g_object_freeze_notify (object);
 
-  g_object_notify (object, "font_desc");
+  g_object_notify (object, "font-desc");
   g_object_notify (object, "font");
   
   if (changed_mask & PANGO_FONT_MASK_FAMILY)
@@ -868,7 +868,7 @@ set_font_description (GtkTextTag           *text_tag,
   if (changed_mask & PANGO_FONT_MASK_SIZE)
     {
       g_object_notify (object, "size");
-      g_object_notify (object, "size_points");
+      g_object_notify (object, "size-points");
     }
 
   notify_set_changed (object, set_changed_mask);
@@ -912,7 +912,7 @@ gtk_text_tag_set_property (GObject      *object,
         else
           g_warning ("Don't know color `%s'", g_value_get_string (value));
 
-        g_object_notify (object, "background_gdk");
+        g_object_notify (object, "background-gdk");
       }
       break;
 
@@ -925,7 +925,7 @@ gtk_text_tag_set_property (GObject      *object,
         else
           g_warning ("Don't know color `%s'", g_value_get_string (value));
 
-        g_object_notify (object, "foreground_gdk");
+        g_object_notify (object, "foreground-gdk");
       }
       break;
 
@@ -950,7 +950,7 @@ gtk_text_tag_set_property (GObject      *object,
         GdkBitmap *bitmap = g_value_get_object (value);
 
         text_tag->bg_stipple_set = TRUE;
-        g_object_notify (object, "background_stipple_set");
+        g_object_notify (object, "background-stipple-set");
         
         if (text_tag->values->appearance.bg_stipple != bitmap)
           {
@@ -970,7 +970,7 @@ gtk_text_tag_set_property (GObject      *object,
         GdkBitmap *bitmap = g_value_get_object (value);
 
         text_tag->fg_stipple_set = TRUE;
-        g_object_notify (object, "foreground_stipple_set");
+        g_object_notify (object, "foreground-stipple-set");
 
         if (text_tag->values->appearance.fg_stipple != bitmap)
           {
@@ -1053,7 +1053,7 @@ gtk_text_tag_set_property (GObject      *object,
          case PROP_SIZE:
            pango_font_description_set_size (text_tag->values->font,
                                             g_value_get_int (value));
-           g_object_notify (object, "size_points");
+           g_object_notify (object, "size-points");
            break;
          case PROP_SIZE_POINTS:
            pango_font_description_set_size (text_tag->values->font,
@@ -1064,7 +1064,7 @@ gtk_text_tag_set_property (GObject      *object,
 
        size_changed = TRUE;
        notify_set_changed (object, old_set_mask & pango_font_description_get_set_fields (text_tag->values->font));
-       g_object_notify (object, "font_desc");
+       g_object_notify (object, "font-desc");
        g_object_notify (object, "font");
 
        break;
@@ -1073,48 +1073,48 @@ gtk_text_tag_set_property (GObject      *object,
     case PROP_SCALE:
       text_tag->values->font_scale = g_value_get_double (value);
       text_tag->scale_set = TRUE;
-      g_object_notify (object, "scale_set");
+      g_object_notify (object, "scale-set");
       size_changed = TRUE;
       break;
       
     case PROP_PIXELS_ABOVE_LINES:
       text_tag->pixels_above_lines_set = TRUE;
       text_tag->values->pixels_above_lines = g_value_get_int (value);
-      g_object_notify (object, "pixels_above_lines_set");
+      g_object_notify (object, "pixels-above-lines-set");
       size_changed = TRUE;
       break;
 
     case PROP_PIXELS_BELOW_LINES:
       text_tag->pixels_below_lines_set = TRUE;
       text_tag->values->pixels_below_lines = g_value_get_int (value);
-      g_object_notify (object, "pixels_below_lines_set");
+      g_object_notify (object, "pixels-below-lines-set");
       size_changed = TRUE;
       break;
 
     case PROP_PIXELS_INSIDE_WRAP:
       text_tag->pixels_inside_wrap_set = TRUE;
       text_tag->values->pixels_inside_wrap = g_value_get_int (value);
-      g_object_notify (object, "pixels_inside_wrap_set");
+      g_object_notify (object, "pixels-inside-wrap-set");
       size_changed = TRUE;
       break;
 
     case PROP_EDITABLE:
       text_tag->editable_set = TRUE;
       text_tag->values->editable = g_value_get_boolean (value);
-      g_object_notify (object, "editable_set");
+      g_object_notify (object, "editable-set");
       break;
 
     case PROP_WRAP_MODE:
       text_tag->wrap_mode_set = TRUE;
       text_tag->values->wrap_mode = g_value_get_enum (value);
-      g_object_notify (object, "wrap_mode_set");
+      g_object_notify (object, "wrap-mode-set");
       size_changed = TRUE;
       break;
 
     case PROP_JUSTIFICATION:
       text_tag->justification_set = TRUE;
       text_tag->values->justification = g_value_get_enum (value);
-      g_object_notify (object, "justification_set");
+      g_object_notify (object, "justification-set");
       size_changed = TRUE;
       break;
 
@@ -1125,53 +1125,53 @@ gtk_text_tag_set_property (GObject      *object,
     case PROP_LEFT_MARGIN:
       text_tag->left_margin_set = TRUE;
       text_tag->values->left_margin = g_value_get_int (value);
-      g_object_notify (object, "left_margin_set");
+      g_object_notify (object, "left-margin-set");
       size_changed = TRUE;
       break;
 
     case PROP_INDENT:
       text_tag->indent_set = TRUE;
       text_tag->values->indent = g_value_get_int (value);
-      g_object_notify (object, "indent_set");
+      g_object_notify (object, "indent-set");
       size_changed = TRUE;
       break;
 
     case PROP_STRIKETHROUGH:
       text_tag->strikethrough_set = TRUE;
       text_tag->values->appearance.strikethrough = g_value_get_boolean (value);
-      g_object_notify (object, "strikethrough_set");
+      g_object_notify (object, "strikethrough-set");
       break;
 
     case PROP_RIGHT_MARGIN:
       text_tag->right_margin_set = TRUE;
       text_tag->values->right_margin = g_value_get_int (value);
-      g_object_notify (object, "right_margin_set");
+      g_object_notify (object, "right-margin-set");
       size_changed = TRUE;
       break;
 
     case PROP_UNDERLINE:
       text_tag->underline_set = TRUE;
       text_tag->values->appearance.underline = g_value_get_enum (value);
-      g_object_notify (object, "underline_set");
+      g_object_notify (object, "underline-set");
       break;
 
     case PROP_RISE:
       text_tag->rise_set = TRUE;
       text_tag->values->appearance.rise = g_value_get_int (value);
-      g_object_notify (object, "rise_set");
+      g_object_notify (object, "rise-set");
       size_changed = TRUE;      
       break;
 
     case PROP_BACKGROUND_FULL_HEIGHT:
       text_tag->bg_full_height_set = TRUE;
       text_tag->values->bg_full_height = g_value_get_boolean (value);
-      g_object_notify (object, "background_full_height_set");
+      g_object_notify (object, "background-full-height-set");
       break;
 
     case PROP_LANGUAGE:
       text_tag->language_set = TRUE;
       text_tag->values->language = pango_language_from_string (g_value_get_string (value));
-      g_object_notify (object, "language_set");
+      g_object_notify (object, "language-set");
       break;
 
     case PROP_TABS:
@@ -1184,7 +1184,7 @@ gtk_text_tag_set_property (GObject      *object,
       text_tag->values->tabs =
         pango_tab_array_copy (g_value_get_boxed (value));
 
-      g_object_notify (object, "tabs_set");
+      g_object_notify (object, "tabs-set");
       
       size_changed = TRUE;
       break;
@@ -1193,7 +1193,7 @@ gtk_text_tag_set_property (GObject      *object,
       g_warning ("The \"invisible\" property on GtkTextTag is not supported for GTK 2.0, it will be added in a future release. see http://bugzilla.gnome.org bug #66194 for status.");
       text_tag->invisible_set = TRUE;
       text_tag->values->invisible = g_value_get_boolean (value);
-      g_object_notify (object, "invisible_set");
+      g_object_notify (object, "invisible-set");
       size_changed = TRUE;
       break;
       
index a739bb791084f323718c88ba363c0ca0a437891d..fe73071a21b528a696bb1a00ed50afa805d5c967 100644 (file)
@@ -1999,7 +1999,7 @@ gtk_text_view_set_wrap_mode (GtkTextView *text_view,
         }
     }
 
-  g_object_notify (G_OBJECT (text_view), "wrap_mode");
+  g_object_notify (G_OBJECT (text_view), "wrap-mode");
 }
 
 /**
@@ -2090,7 +2090,7 @@ gtk_text_view_set_pixels_above_lines (GtkTextView *text_view,
           gtk_text_layout_default_style_changed (text_view->layout);
         }
 
-      g_object_notify (G_OBJECT (text_view), "pixels_above_lines");
+      g_object_notify (G_OBJECT (text_view), "pixels-above-lines");
     }
 }
 
@@ -2136,7 +2136,7 @@ gtk_text_view_set_pixels_below_lines (GtkTextView *text_view,
           gtk_text_layout_default_style_changed (text_view->layout);
         }
 
-      g_object_notify (G_OBJECT (text_view), "pixels_below_lines");
+      g_object_notify (G_OBJECT (text_view), "pixels-below-lines");
     }
 }
 
@@ -2182,7 +2182,7 @@ gtk_text_view_set_pixels_inside_wrap (GtkTextView *text_view,
           gtk_text_layout_default_style_changed (text_view->layout);
         }
 
-      g_object_notify (G_OBJECT (text_view), "pixels_inside_wrap");
+      g_object_notify (G_OBJECT (text_view), "pixels-inside-wrap");
     }
 }
 
@@ -2273,7 +2273,7 @@ gtk_text_view_set_left_margin (GtkTextView *text_view,
           gtk_text_layout_default_style_changed (text_view->layout);
         }
 
-      g_object_notify (G_OBJECT (text_view), "left_margin");
+      g_object_notify (G_OBJECT (text_view), "left-margin");
     }
 }
 
@@ -2319,7 +2319,7 @@ gtk_text_view_set_right_margin (GtkTextView *text_view,
           gtk_text_layout_default_style_changed (text_view->layout);
         }
 
-      g_object_notify (G_OBJECT (text_view), "right_margin");
+      g_object_notify (G_OBJECT (text_view), "right-margin");
     }
 }
 
@@ -2471,7 +2471,7 @@ gtk_text_view_set_cursor_visible    (GtkTextView   *text_view,
             }
         }
 
-      g_object_notify (G_OBJECT (text_view), "cursor_visible");
+      g_object_notify (G_OBJECT (text_view), "cursor-visible");
     }
 }
 
@@ -2757,8 +2757,8 @@ gtk_text_view_size_request (GtkWidget      *widget,
   text_view = GTK_TEXT_VIEW (widget);
 
   gtk_widget_style_get (widget,
-                       "interior_focus", &interior_focus,
-                       "focus_line_width", &focus_width,
+                       "interior-focus", &interior_focus,
+                       "focus-line-width", &focus_width,
                        NULL);
 
   if (interior_focus)
@@ -3003,8 +3003,8 @@ gtk_text_view_size_allocate (GtkWidget *widget,
    */
 
   gtk_widget_style_get (widget,
-                       "interior_focus", &interior_focus,
-                       "focus_line_width", &focus_width,
+                       "interior-focus", &interior_focus,
+                       "focus-line-width", &focus_width,
                        NULL);
 
   if (interior_focus)
@@ -4291,7 +4291,7 @@ gtk_text_view_draw_focus (GtkWidget *widget)
 
   /* We clear the focus if we are in interior focus mode. */
   gtk_widget_style_get (widget,
-                       "interior_focus", &interior_focus,
+                       "interior-focus", &interior_focus,
                        NULL);
   
   if (GTK_WIDGET_DRAWABLE (widget))
@@ -5338,7 +5338,7 @@ gtk_text_view_set_accepts_tab (GtkTextView *text_view,
     {
       text_view->accepts_tab = accepts_tab;
 
-      g_object_notify (G_OBJECT (text_view), "accepts_tab");
+      g_object_notify (G_OBJECT (text_view), "accepts-tab");
     }
 }
 
index d6abd0cb1c7791a34516523573876c413694b860..305be5b00aca36c0231c334dde521ef1985b6816 100644 (file)
@@ -180,7 +180,7 @@ gtk_toggle_action_new (const gchar *name,
                         "name", name,
                         "label", label,
                         "tooltip", tooltip,
-                        "stock_id", stock_id,
+                        "stock-id", stock_id,
                         NULL);
 
   return action;
@@ -380,7 +380,7 @@ gtk_toggle_action_set_draw_as_radio (GtkToggleAction *action,
     {
       action->private_data->draw_as_radio = draw_as_radio;
       
-      g_object_notify (G_OBJECT (action), "draw_as_radio");      
+      g_object_notify (G_OBJECT (action), "draw-as-radio");      
     }
 }
 
@@ -408,7 +408,7 @@ create_menu_item (GtkAction *action)
   GtkToggleAction *toggle_action = GTK_TOGGLE_ACTION (action);
 
   return g_object_new (GTK_TYPE_CHECK_MENU_ITEM, 
-                      "draw_as_radio", toggle_action->private_data->draw_as_radio,
+                      "draw-as-radio", toggle_action->private_data->draw_as_radio,
                       NULL);
 }
 
index 5971d9359f961aa81ac6f92aa1326eac6ed12c25..a51876d2beb05423130c653474f08710f50636f6 100644 (file)
@@ -197,7 +197,10 @@ gtk_toggle_button_new_with_label (const gchar *label)
 GtkWidget*
 gtk_toggle_button_new_with_mnemonic (const gchar *label)
 {
-  return g_object_new (GTK_TYPE_TOGGLE_BUTTON, "label", label, "use_underline", TRUE, NULL);
+  return g_object_new (GTK_TYPE_TOGGLE_BUTTON, 
+                      "label", label, 
+                      "use-underline", TRUE, 
+                      NULL);
 }
 
 static void
@@ -287,7 +290,7 @@ gtk_toggle_button_set_mode (GtkToggleButton *toggle_button,
       if (GTK_WIDGET_VISIBLE (toggle_button))
        gtk_widget_queue_resize (GTK_WIDGET (toggle_button));
 
-      g_object_notify (G_OBJECT (toggle_button), "draw_indicator");
+      g_object_notify (G_OBJECT (toggle_button), "draw-indicator");
     }
 }
 
index 0607d80ad5e4d3ae104ddb31b2b7f9be937aedfa..e1d4461f923d083674410b48b3f590c6935df9d8 100644 (file)
@@ -288,7 +288,7 @@ gtk_toggle_tool_button_new_from_stock (const gchar *stock_id)
   g_return_val_if_fail (stock_id != NULL, NULL);
   
   button = g_object_new (GTK_TYPE_TOGGLE_TOOL_BUTTON,
-                        "stock_id", stock_id,
+                        "stock-id", stock_id,
                         NULL);
   
   return GTK_TOOL_ITEM (button);
index 41ed31c9fc7a39594e455e188fa87a2e9454adb1..cf08c009ed48809b3cab1e8ea271f1e83083886a 100644 (file)
@@ -2500,7 +2500,7 @@ gtk_toolbar_real_style_changed (GtkToolbar     *toolbar,
       gtk_toolbar_reconfigured (toolbar);
       
       gtk_widget_queue_resize (GTK_WIDGET (toolbar));
-      g_object_notify (G_OBJECT (toolbar), "toolbar_style");
+      g_object_notify (G_OBJECT (toolbar), "toolbar-style");
     }
 }
 
@@ -2975,7 +2975,7 @@ gtk_toolbar_set_show_arrow (GtkToolbar *toolbar,
        gtk_widget_hide (priv->arrow_button);
       
       gtk_widget_queue_resize (GTK_WIDGET (toolbar));      
-      g_object_notify (G_OBJECT (toolbar), "show_arrow");
+      g_object_notify (G_OBJECT (toolbar), "show-arrow");
     }
 }
 
@@ -4594,7 +4594,7 @@ get_space_size (GtkToolbar *toolbar)
   if (toolbar)
     {
       gtk_widget_style_get (GTK_WIDGET (toolbar),
-                           "space_size", &space_size,
+                           "space-size", &space_size,
                            NULL);
     }
   
@@ -4609,7 +4609,7 @@ get_space_style (GtkToolbar *toolbar)
   if (toolbar)
     {
       gtk_widget_style_get (GTK_WIDGET (toolbar),
-                           "space_style", &space_style,
+                           "space-style", &space_style,
                            NULL);
     }
   
@@ -4624,7 +4624,7 @@ get_button_relief (GtkToolbar *toolbar)
   gtk_widget_ensure_style (GTK_WIDGET (toolbar));
   
   gtk_widget_style_get (GTK_WIDGET (toolbar),
-                        "button_relief", &button_relief,
+                        "button-relief", &button_relief,
                         NULL);
   
   return button_relief;
@@ -4636,7 +4636,7 @@ get_internal_padding (GtkToolbar *toolbar)
   gint ipadding = 0;
   
   gtk_widget_style_get (GTK_WIDGET (toolbar),
-                       "internal_padding", &ipadding,
+                       "internal-padding", &ipadding,
                        NULL);
   
   return ipadding;
@@ -4648,7 +4648,7 @@ get_shadow_type (GtkToolbar *toolbar)
   GtkShadowType shadow_type;
   
   gtk_widget_style_get (GTK_WIDGET (toolbar),
-                       "shadow_type", &shadow_type,
+                       "shadow-type", &shadow_type,
                        NULL);
   
   return shadow_type;
index 1c59bd1711d80fc9273f7c22c981b0ecda5bf213..2281b643dac0643bdd7c22bfe016ebbef46580d6 100644 (file)
@@ -622,7 +622,7 @@ gtk_tool_button_new_from_stock (const gchar *stock_id)
   g_return_val_if_fail (stock_id != NULL, NULL);
     
   button = g_object_new (GTK_TYPE_TOOL_BUTTON,
-                        "stock_id", stock_id,
+                        "stock-id", stock_id,
                         NULL);
 
   return GTK_TOOL_ITEM (button);
@@ -740,7 +740,7 @@ gtk_tool_button_set_use_underline (GtkToolButton *button,
 
       gtk_tool_button_construct_contents (GTK_TOOL_ITEM (button));
 
-      g_object_notify (G_OBJECT (button), "use_underline");
+      g_object_notify (G_OBJECT (button), "use-underline");
     }
 }
 
@@ -788,7 +788,7 @@ gtk_tool_button_set_stock_id (GtkToolButton *button,
   button->priv->stock_id = g_strdup (stock_id);
   gtk_tool_button_construct_contents (GTK_TOOL_ITEM (button));
   
-  g_object_notify (G_OBJECT (button), "stock_id");
+  g_object_notify (G_OBJECT (button), "stock-id");
 
   g_free (old_stock_id);
 }
@@ -853,7 +853,7 @@ gtk_tool_button_set_icon_widget (GtkToolButton *button,
 
       gtk_tool_button_construct_contents (GTK_TOOL_ITEM (button));
       
-      g_object_notify (G_OBJECT (button), "icon_widget");
+      g_object_notify (G_OBJECT (button), "icon-widget");
     }
 }
 
@@ -900,7 +900,7 @@ gtk_tool_button_set_label_widget (GtkToolButton *button,
 
       gtk_tool_button_construct_contents (GTK_TOOL_ITEM (button));
       
-      g_object_notify (G_OBJECT (button), "label_widget");
+      g_object_notify (G_OBJECT (button), "label-widget");
     }
 }
 
index 1dede85af106f1f769f3fdc6ef857ded0eed0980..c2fcf4fff38b2353e76c08647109c95b7fea8dad 100644 (file)
@@ -788,7 +788,7 @@ gtk_tool_item_set_is_important (GtkToolItem *tool_item, gboolean is_important)
 
       gtk_widget_queue_resize (GTK_WIDGET (tool_item));
 
-      g_object_notify (G_OBJECT (tool_item), "is_important");
+      g_object_notify (G_OBJECT (tool_item), "is-important");
     }
 }
 
@@ -915,7 +915,7 @@ gtk_tool_item_set_visible_horizontal (GtkToolItem *toolitem,
     {
       toolitem->priv->visible_horizontal = visible_horizontal;
 
-      g_object_notify (G_OBJECT (toolitem), "visible_horizontal");
+      g_object_notify (G_OBJECT (toolitem), "visible-horizontal");
 
       gtk_widget_queue_resize (GTK_WIDGET (toolitem));
     }
@@ -966,7 +966,7 @@ gtk_tool_item_set_visible_vertical (GtkToolItem *toolitem,
     {
       toolitem->priv->visible_vertical = visible_vertical;
 
-      g_object_notify (G_OBJECT (toolitem), "visible_vertical");
+      g_object_notify (G_OBJECT (toolitem), "visible-vertical");
 
       gtk_widget_queue_resize (GTK_WIDGET (toolitem));
     }
index a9516a47252ea6184516decaf24295cf85ae3e6c..96eccfc0526535edb894d2b5508cad763bf293a0 100644 (file)
@@ -2422,8 +2422,8 @@ gtk_tree_model_filter_new (GtkTreeModel *child_model,
   g_return_val_if_fail (GTK_IS_TREE_MODEL (child_model), NULL);
 
   retval = g_object_new (GTK_TYPE_TREE_MODEL_FILTER, 
-                        "child_model", child_model,
-                        "virtual_root", root,
+                        "child-model", child_model,
+                        "virtual-root", root,
                         NULL);
 
   return retval;
index 4ddcafd2323c1146a136d16658aecdd367753b8a..1085da00c5614877a9e2f3b63fcb18b036e88178 100644 (file)
@@ -2175,8 +2175,8 @@ gtk_tree_view_button_press (GtkWidget      *widget,
   rtl = (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL);
   gtk_tree_view_stop_editing (tree_view, FALSE);
   gtk_widget_style_get (widget,
-                       "vertical_separator", &vertical_separator,
-                       "horizontal_separator", &horizontal_separator,
+                       "vertical-separator", &vertical_separator,
+                       "horizontal-separator", &horizontal_separator,
                        NULL);
 
 
@@ -3452,9 +3452,9 @@ gtk_tree_view_bin_expose (GtkWidget      *widget,
   tree_view = GTK_TREE_VIEW (widget);
 
   gtk_widget_style_get (widget,
-                       "horizontal_separator", &horizontal_separator,
-                       "vertical_separator", &vertical_separator,
-                       "allow_rules", &allow_rules,
+                       "horizontal-separator", &horizontal_separator,
+                       "vertical-separator", &vertical_separator,
+                       "allow-rules", &allow_rules,
                        "focus-line-width", &focus_line_width,
                        NULL);
 
@@ -4551,7 +4551,7 @@ validate_row (GtkTreeView *tree_view,
 
   gtk_widget_style_get (GTK_WIDGET (tree_view),
                        "focus-padding", &focus_pad,
-                       "horizontal_separator", &horizontal_separator,
+                       "horizontal-separator", &horizontal_separator,
                        NULL);
   
   for (list = tree_view->priv->columns; list; list = list->next)
@@ -6463,7 +6463,7 @@ column_sizing_notify (GObject    *object,
 
   if (gtk_tree_view_column_get_sizing (c) != GTK_TREE_VIEW_COLUMN_FIXED)
     /* disable fixed height mode */
-    g_object_set (data, "fixed_height_mode", FALSE, NULL);
+    g_object_set (data, "fixed-height-mode", FALSE, NULL);
 }
 
 /**
@@ -6798,7 +6798,7 @@ gtk_tree_view_style_set (GtkWidget *widget,
     }
 
   gtk_widget_style_get (widget,
-                       "expander_size", &tree_view->priv->expander_size,
+                       "expander-size", &tree_view->priv->expander_size,
                        NULL);
   tree_view->priv->expander_size += EXPANDER_EXTRA_PADDING;
 
@@ -7046,7 +7046,7 @@ gtk_tree_view_row_changed (GtkTreeModel *model,
   if (tree_view->priv->edited_column)
     gtk_tree_view_stop_editing (tree_view, TRUE);
 
-  gtk_widget_style_get (GTK_WIDGET (data), "vertical_separator", &vertical_separator, NULL);
+  gtk_widget_style_get (GTK_WIDGET (data), "vertical-separator", &vertical_separator, NULL);
 
   if (path == NULL)
     {
@@ -7535,7 +7535,7 @@ gtk_tree_view_get_arrow_xrange (GtkTreeView *tree_view,
     }
 
   gtk_widget_style_get (GTK_WIDGET (tree_view),
-                       "indent_expanders", &indent_expanders,
+                       "indent-expanders", &indent_expanders,
                        NULL);
 
   if (indent_expanders)
@@ -7620,7 +7620,7 @@ gtk_tree_view_discover_dirty_iter (GtkTreeView *tree_view,
   gint horizontal_separator;
 
   gtk_widget_style_get (GTK_WIDGET (tree_view),
-                       "horizontal_separator", &horizontal_separator,
+                       "horizontal-separator", &horizontal_separator,
                        NULL);
 
   if (height)
@@ -8278,7 +8278,7 @@ gtk_tree_view_draw_arrow (GtkTreeView *tree_view,
   GtkExpanderStyle expander_style;
 
   gtk_widget_style_get (GTK_WIDGET (tree_view),
-                       "vertical_separator", &vertical_separator,
+                       "vertical-separator", &vertical_separator,
                        NULL);
   expander_size = tree_view->priv->expander_size - EXPANDER_EXTRA_PADDING;
 
@@ -8481,7 +8481,7 @@ gtk_tree_view_move_cursor_page_up_down (GtkTreeView *tree_view,
     /* This is sorta weird.  Focus in should give us a cursor */
     return;
 
-  gtk_widget_style_get (GTK_WIDGET (tree_view), "vertical_separator", &vertical_separator, NULL);
+  gtk_widget_style_get (GTK_WIDGET (tree_view), "vertical-separator", &vertical_separator, NULL);
   _gtk_tree_view_find_node (tree_view, cursor_path,
                            &cursor_tree, &cursor_node);
 
@@ -8890,7 +8890,7 @@ send_focus_change (GtkWidget *widget,
   
   gtk_widget_event (widget, fevent);
   
-  g_object_notify (G_OBJECT (widget), "has_focus");
+  g_object_notify (G_OBJECT (widget), "has-focus");
 
   g_object_unref (widget);
   gdk_event_free (fevent);
@@ -9581,7 +9581,7 @@ gtk_tree_view_set_headers_visible (GtkTreeView *tree_view,
 
   gtk_widget_queue_resize (GTK_WIDGET (tree_view));
 
-  g_object_notify (G_OBJECT (tree_view), "headers_visible");
+  g_object_notify (G_OBJECT (tree_view), "headers-visible");
 }
 
 /**
@@ -9631,7 +9631,7 @@ gtk_tree_view_set_headers_clickable (GtkTreeView *tree_view,
   for (list = tree_view->priv->columns; list; list = list->next)
     gtk_tree_view_column_set_clickable (GTK_TREE_VIEW_COLUMN (list->data), setting);
 
-  g_object_notify (G_OBJECT (tree_view), "headers_clickable");
+  g_object_notify (G_OBJECT (tree_view), "headers-clickable");
 }
 
 
@@ -9668,7 +9668,7 @@ gtk_tree_view_set_rules_hint (GtkTreeView  *tree_view,
       gtk_widget_queue_draw (GTK_WIDGET (tree_view));
     }
 
-  g_object_notify (G_OBJECT (tree_view), "rules_hint");
+  g_object_notify (G_OBJECT (tree_view), "rules-hint");
 }
 
 /**
@@ -10068,7 +10068,7 @@ gtk_tree_view_set_expander_column (GtkTreeView       *tree_view,
        }
 
       tree_view->priv->expander_column = column;
-      g_object_notify (G_OBJECT (tree_view), "expander_column");
+      g_object_notify (G_OBJECT (tree_view), "expander-column");
     }
 }
 
@@ -11423,8 +11423,8 @@ gtk_tree_view_get_cell_area (GtkTreeView        *tree_view,
   g_return_if_fail (GTK_WIDGET_REALIZED (tree_view));
 
   gtk_widget_style_get (GTK_WIDGET (tree_view),
-                       "vertical_separator", &vertical_separator,
-                       "horizontal_separator", &horizontal_separator,
+                       "vertical-separator", &vertical_separator,
+                       "horizontal-separator", &horizontal_separator,
                        NULL);
 
   rect->x = 0;
@@ -12071,7 +12071,7 @@ gtk_tree_view_create_row_drag_icon (GtkTreeView  *tree_view,
 
       cell_area = background_area;
 
-      gtk_widget_style_get (widget, "vertical_separator", &vertical_separator, NULL);
+      gtk_widget_style_get (widget, "vertical-separator", &vertical_separator, NULL);
       cell_area.y += vertical_separator / 2;
       cell_area.height -= vertical_separator;
 
@@ -12167,7 +12167,7 @@ gtk_tree_view_set_enable_search (GtkTreeView *tree_view,
   if (tree_view->priv->enable_search != enable_search)
     {
        tree_view->priv->enable_search = enable_search;
-       g_object_notify (G_OBJECT (tree_view), "enable_search");
+       g_object_notify (G_OBJECT (tree_view), "enable-search");
     }
 }
 
@@ -12224,7 +12224,7 @@ gtk_tree_view_set_search_column (GtkTreeView *tree_view,
     return;
 
   tree_view->priv->search_column = column;
-  g_object_notify (G_OBJECT (tree_view), "search_column");
+  g_object_notify (G_OBJECT (tree_view), "search-column");
 }
 
 /**
index 17c46f8782078061f380a7693942b3ee55e4ec18..cfa94d131a3e1f11d424e4120f973f3e818b036d 100644 (file)
@@ -1919,7 +1919,7 @@ gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column,
       gtk_widget_queue_resize (tree_column->tree_view);
     }
 
-  g_object_notify (G_OBJECT (tree_column), "fixed_width");
+  g_object_notify (G_OBJECT (tree_column), "fixed-width");
 }
 
 /**
@@ -1970,9 +1970,9 @@ gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column,
   if (tree_column->max_width != -1 && tree_column->max_width < min_width)
     {
       tree_column->max_width = min_width;
-      g_object_notify (G_OBJECT (tree_column), "max_width");
+      g_object_notify (G_OBJECT (tree_column), "max-width");
     }
-  g_object_notify (G_OBJECT (tree_column), "min_width");
+  g_object_notify (G_OBJECT (tree_column), "min-width");
   g_object_thaw_notify (G_OBJECT (tree_column));
 
   if (tree_column->column_type == GTK_TREE_VIEW_COLUMN_AUTOSIZE)
@@ -2030,9 +2030,9 @@ gtk_tree_view_column_set_max_width (GtkTreeViewColumn *tree_column,
   if (max_width != -1 && max_width < tree_column->min_width)
     {
       tree_column->min_width = max_width;
-      g_object_notify (G_OBJECT (tree_column), "min_width");
+      g_object_notify (G_OBJECT (tree_column), "min-width");
     }
-  g_object_notify (G_OBJECT (tree_column), "max_width");
+  g_object_notify (G_OBJECT (tree_column), "max-width");
   g_object_thaw_notify (G_OBJECT (tree_column));
 
   if (tree_column->column_type == GTK_TREE_VIEW_COLUMN_AUTOSIZE)
@@ -2433,7 +2433,7 @@ gtk_tree_view_column_set_sort_indicator (GtkTreeViewColumn     *tree_column,
 
   tree_column->show_sort_indicator = setting;
   gtk_tree_view_column_update_button (tree_column);
-  g_object_notify (G_OBJECT (tree_column), "sort_indicator");
+  g_object_notify (G_OBJECT (tree_column), "sort-indicator");
 }
 
 /**
@@ -2480,7 +2480,7 @@ gtk_tree_view_column_set_sort_order      (GtkTreeViewColumn     *tree_column,
 
   tree_column->sort_order = order;
   gtk_tree_view_column_update_button (tree_column);
-  g_object_notify (G_OBJECT (tree_column), "sort_order");
+  g_object_notify (G_OBJECT (tree_column), "sort-order");
 }
 
 /**
@@ -2538,10 +2538,10 @@ gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column,
       g_object_freeze_notify (cell);
 
       if (info->cell->is_expander != is_expander)
-       g_object_set (cell, "is_expander", is_expander, NULL);
+       g_object_set (cell, "is-expander", is_expander, NULL);
 
       if (info->cell->is_expanded != is_expanded)
-       g_object_set (cell, "is_expanded", is_expanded, NULL);
+       g_object_set (cell, "is-expanded", is_expanded, NULL);
 
       while (list && list->next)
        {
index dab5ffe45ef877bbe5263b2c2d36c280c394d71a..e3407e3c2aa7dac9fcf6c4ec53a62737cb95b365 100644 (file)
@@ -576,7 +576,7 @@ gtk_ui_manager_set_add_tearoffs (GtkUIManager *self,
       
       dirty_all_nodes (self);
 
-      g_object_notify (G_OBJECT (self), "add_tearoffs");
+      g_object_notify (G_OBJECT (self), "add-tearoffs");
     }
 }
 
index dbc958b7f2873dcefb9e39d632f64c168e7415b3..c87da8b200056e3340be7f0d53bc7f0dc44a4176 100644 (file)
@@ -559,7 +559,7 @@ gtk_viewport_set_shadow_type (GtkViewport   *viewport,
          gtk_widget_queue_draw (GTK_WIDGET (viewport));
        }
 
-      g_object_notify (G_OBJECT (viewport), "shadow_type");
+      g_object_notify (G_OBJECT (viewport), "shadow-type");
     }
 }
 
index d0472a6397cd8873c2ac63cc5434d1c868f90a34..1943b927201913e30d333f9d366f515ccfa73682 100644 (file)
@@ -134,7 +134,7 @@ gtk_vpaned_size_request (GtkWidget      *widget,
     {
       gint handle_size;
 
-      gtk_widget_style_get (widget, "handle_size", &handle_size, NULL);
+      gtk_widget_style_get (widget, "handle-size", &handle_size, NULL);
       requisition->height += handle_size;
     }
 }
@@ -157,7 +157,7 @@ gtk_vpaned_size_allocate (GtkWidget     *widget,
       GtkAllocation child2_allocation;
       gint handle_size;
       
-      gtk_widget_style_get (widget, "handle_size", &handle_size, NULL);
+      gtk_widget_style_get (widget, "handle-size", &handle_size, NULL);
 
       gtk_widget_get_child_requisition (paned->child1, &child1_requisition);
       gtk_widget_get_child_requisition (paned->child2, &child2_requisition);
index cf431706998319656d444d3d73ce3c5a9ad08909..dfb043fa6bd1d71bc50d4c1ac7e41953075f5fef 100644 (file)
@@ -220,7 +220,7 @@ gtk_vscale_get_layout_offsets (GtkScale *scale,
   range = GTK_RANGE (widget);
   scale = GTK_SCALE (widget);
 
-  gtk_widget_style_get (widget, "value_spacing", &value_spacing, NULL);
+  gtk_widget_style_get (widget, "value-spacing", &value_spacing, NULL);
       
   pango_layout_get_pixel_extents (layout, NULL, &logical_rect);
     
index 32a8b159b670ed969c752b350214a597e9318c67..1d04d339e62991d142f9f79b889d0ab97e92c1a1 100644 (file)
@@ -3936,7 +3936,7 @@ gtk_widget_grab_focus (GtkWidget *widget)
   
   g_object_ref (widget);
   g_signal_emit (widget, widget_signals[GRAB_FOCUS], 0);
-  g_object_notify (G_OBJECT (widget), "has_focus");
+  g_object_notify (G_OBJECT (widget), "has-focus");
   g_object_unref (widget);
 }
 
@@ -4212,7 +4212,7 @@ gtk_widget_set_app_paintable (GtkWidget *widget,
       if (GTK_WIDGET_DRAWABLE (widget))
        gtk_widget_queue_draw (widget);
 
-      g_object_notify (G_OBJECT (widget), "app_paintable");
+      g_object_notify (G_OBJECT (widget), "app-paintable");
     }
 }
 
@@ -5591,13 +5591,13 @@ gtk_widget_set_usize_internal (GtkWidget *widget,
   
   if (width > -2 && aux_info->width != width)
     {
-      g_object_notify (G_OBJECT (widget), "width_request");
+      g_object_notify (G_OBJECT (widget), "width-request");
       aux_info->width = width;
       changed = TRUE;
     }
   if (height > -2 && aux_info->height != height)
     {
-      g_object_notify (G_OBJECT (widget), "height_request");  
+      g_object_notify (G_OBJECT (widget), "height-request");  
       aux_info->height = height;
       changed = TRUE;
     }
@@ -5866,7 +5866,7 @@ gtk_widget_set_extension_events (GtkWidget *widget,
   
   *modep = mode;
   g_object_set_qdata (G_OBJECT (widget), quark_extension_event_mode, modep);
-  g_object_notify (G_OBJECT (widget), "extension_events");
+  g_object_notify (G_OBJECT (widget), "extension-events");
 }
 
 /**
@@ -7607,7 +7607,7 @@ gtk_widget_set_no_show_all (GtkWidget *widget,
   else
     GTK_WIDGET_UNSET_FLAGS (widget, GTK_NO_SHOW_ALL);
   
-  g_object_notify (G_OBJECT (widget), "no_show_all");
+  g_object_notify (G_OBJECT (widget), "no-show-all");
 }
 
 #define __GTK_WIDGET_C__
index 811200f09a0bef9bde10127164f9b52c016ac497..26de8e359368b41621b2e3aabc787ac49a3749ee 100644 (file)
@@ -825,7 +825,7 @@ gtk_window_set_property (GObject      *object,
     case PROP_RESIZABLE:
       window->allow_grow = g_value_get_boolean (value);
       gtk_widget_queue_resize (GTK_WIDGET (window));
-      g_object_notify (G_OBJECT (window), "allow_grow");
+      g_object_notify (G_OBJECT (window), "allow-grow");
       break;
     case PROP_MODAL:
       gtk_window_set_modal (window, g_value_get_boolean (value));
@@ -1271,11 +1271,11 @@ gtk_window_set_default (GtkWindow *window,
        }
 
       if (old_default_widget)
-       g_object_notify (G_OBJECT (old_default_widget), "has_default");
+       g_object_notify (G_OBJECT (old_default_widget), "has-default");
       
       if (default_widget)
        {
-         g_object_notify (G_OBJECT (default_widget), "has_default");
+         g_object_notify (G_OBJECT (default_widget), "has-default");
          g_object_unref (default_widget);
        }
     }
@@ -1293,8 +1293,8 @@ gtk_window_set_policy (GtkWindow *window,
   window->allow_grow = (allow_grow != FALSE);
 
   g_object_freeze_notify (G_OBJECT (window));
-  g_object_notify (G_OBJECT (window), "allow_shrink");
-  g_object_notify (G_OBJECT (window), "allow_grow");
+  g_object_notify (G_OBJECT (window), "allow-shrink");
+  g_object_notify (G_OBJECT (window), "allow-grow");
   g_object_notify (G_OBJECT (window), "resizable");
   g_object_thaw_notify (G_OBJECT (window));
   
@@ -1519,7 +1519,7 @@ gtk_window_set_position (GtkWindow         *window,
 
   window->position = position;
   
-  g_object_notify (G_OBJECT (window), "window_position");
+  g_object_notify (G_OBJECT (window), "window-position");
 }
 
 /**
@@ -1974,7 +1974,7 @@ gtk_window_set_skip_taskbar_hint (GtkWindow *window,
       if (GTK_WIDGET_REALIZED (window))
         gdk_window_set_skip_taskbar_hint (GTK_WIDGET (window)->window,
                                           priv->skips_taskbar);
-      g_object_notify (G_OBJECT (window), "skip_taskbar_hint");
+      g_object_notify (G_OBJECT (window), "skip-taskbar-hint");
     }
 }
 
@@ -2031,7 +2031,7 @@ gtk_window_set_skip_pager_hint (GtkWindow *window,
       if (GTK_WIDGET_REALIZED (window))
         gdk_window_set_skip_pager_hint (GTK_WIDGET (window)->window,
                                         priv->skips_pager);
-      g_object_notify (G_OBJECT (window), "skip_pager_hint");
+      g_object_notify (G_OBJECT (window), "skip-pager-hint");
     }
 }
 
@@ -2085,7 +2085,7 @@ gtk_window_set_accept_focus (GtkWindow *window,
       if (GTK_WIDGET_REALIZED (window))
         gdk_window_set_accept_focus (GTK_WIDGET (window)->window,
                                     priv->accept_focus);
-      g_object_notify (G_OBJECT (window), "accept_focus");
+      g_object_notify (G_OBJECT (window), "accept-focus");
     }
 }
 
@@ -2140,7 +2140,7 @@ gtk_window_set_focus_on_map (GtkWindow *window,
       if (GTK_WIDGET_REALIZED (window))
         gdk_window_set_focus_on_map (GTK_WIDGET (window)->window,
                                     priv->focus_on_map);
-      g_object_notify (G_OBJECT (window), "focus_on_map");
+      g_object_notify (G_OBJECT (window), "focus-on-map");
     }
 }
 
@@ -2197,7 +2197,7 @@ gtk_window_set_destroy_with_parent  (GtkWindow *window,
   
   window->destroy_with_parent = setting;
 
-  g_object_notify (G_OBJECT (window), "destroy_with_parent");
+  g_object_notify (G_OBJECT (window), "destroy-with-parent");
 }
 
 /**
@@ -2898,7 +2898,7 @@ gtk_window_set_icon_name (GtkWindow   *window,
   
   update_themed_icon (NULL, window);
 
-  g_object_notify (G_OBJECT (window), "icon_name");
+  g_object_notify (G_OBJECT (window), "icon-name");
 }
 
 /**
@@ -3210,7 +3210,7 @@ gtk_window_set_default_size_internal (GtkWindow    *window,
 
       info->default_width = width;
 
-      g_object_notify (G_OBJECT (window), "default_width");
+      g_object_notify (G_OBJECT (window), "default-width");
     }
 
   if (change_height)
@@ -3223,7 +3223,7 @@ gtk_window_set_default_size_internal (GtkWindow    *window,
 
       info->default_height = height;
       
-      g_object_notify (G_OBJECT (window), "default_height");
+      g_object_notify (G_OBJECT (window), "default-height");
     }
   
   g_object_thaw_notify (G_OBJECT (window));
@@ -4540,7 +4540,7 @@ do_focus_change (GtkWidget *widget,
   
   gtk_widget_event (widget, fevent);
   
-  g_object_notify (G_OBJECT (widget), "has_focus");
+  g_object_notify (G_OBJECT (widget), "has-focus");
 
   g_object_unref (widget);
   gdk_event_free (fevent);
@@ -4726,7 +4726,7 @@ gtk_window_real_set_focus (GtkWindow *window,
       if (window->has_focus)
        do_focus_change (old_focus, FALSE);
 
-      g_object_notify (G_OBJECT (old_focus), "is_focus");
+      g_object_notify (G_OBJECT (old_focus), "is-focus");
     }
 
   /* The above notifications may have set a new focus widget,
@@ -4749,7 +4749,7 @@ gtk_window_real_set_focus (GtkWindow *window,
       if (window->has_focus)
        do_focus_change (window->focus_widget, TRUE);
 
-      g_object_notify (G_OBJECT (window->focus_widget), "is_focus");
+      g_object_notify (G_OBJECT (window->focus_widget), "is-focus");
     }
 
   /* If the default widget changed, a redraw will have been queued
@@ -7412,7 +7412,7 @@ _gtk_window_set_is_active (GtkWindow *window,
       window->is_active = is_active;
       window_update_has_focus (window);
 
-      g_object_notify (G_OBJECT (window), "is_active");
+      g_object_notify (G_OBJECT (window), "is-active");
     }
 }
 
@@ -7437,7 +7437,7 @@ _gtk_window_set_has_toplevel_focus (GtkWindow *window,
       window->has_toplevel_focus = has_toplevel_focus;
       window_update_has_focus (window);
 
-      g_object_notify (G_OBJECT (window), "has_toplevel_focus");
+      g_object_notify (G_OBJECT (window), "has-toplevel-focus");
     }
 }